Edit
This commit is contained in:
@@ -1,5 +1,24 @@
|
||||
package movie.apis;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Model class representing a movie
|
||||
* Fields: id, title, genres, images
|
||||
*/
|
||||
public class Movie {
|
||||
//TODO
|
||||
}
|
||||
|
||||
private Long id;
|
||||
private String title;
|
||||
private List<Genre> genres;
|
||||
private String images;
|
||||
private String year;
|
||||
private String imdbRating;
|
||||
private String country;
|
||||
|
||||
// TODO: Create a constructor with all fields
|
||||
|
||||
// TODO: Create a simple constructor with id and title only
|
||||
|
||||
// TODO: Create getters and setters for all fields
|
||||
}
|
||||
Reference in New Issue
Block a user