24 lines
513 B
Java
24 lines
513 B
Java
package movie.apis;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* Model class representing a movie
|
|
* Fields: id, title, genres, images
|
|
*/
|
|
public class Movie {
|
|
|
|
private Long id;
|
|
private String title;
|
|
private List<String> genres;
|
|
private String images;
|
|
private String year;
|
|
private String imdb_rating;
|
|
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
|
|
} |