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.
|
package com.camillepradel.movierecommender.model;
|
|
|
|
public class Genre {
|
|
|
|
private int id;
|
|
private String name;
|
|
|
|
public Genre(int id, String name) {
|
|
this.id = id;
|
|
this.name = name;
|
|
}
|
|
|
|
public long getId() {
|
|
return this.id;
|
|
}
|
|
|
|
public String getName() {
|
|
return this.name;
|
|
}
|
|
}
|