Add a view to show movies of a given user (or all movies if no user is specified).
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user