This repository has been archived on 2021-09-15. You can view files and clone it, but cannot push or open issues or pull requests.
2016-11-13 22:16:03 +00:00
|
|
|
package com.camillepradel.movierecommender.model;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
public class Movie {
|
|
|
|
|
|
|
|
private int id;
|
|
|
|
private String title;
|
|
|
|
private List<Genre> genres;
|
|
|
|
|
|
|
|
public Movie(int id, String title, List<Genre> genres) {
|
|
|
|
this.id = id;
|
|
|
|
this.title = title;
|
|
|
|
this.genres = genres;
|
|
|
|
}
|
|
|
|
|
2016-11-27 10:10:31 +00:00
|
|
|
public int getId() {
|
2016-11-13 22:16:03 +00:00
|
|
|
return this.id;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getTitle() {
|
|
|
|
return this.title;
|
|
|
|
}
|
|
|
|
|
|
|
|
public List<Genre> getGenres() {
|
|
|
|
return this.genres;
|
|
|
|
}
|
|
|
|
}
|