You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
108 lines
2.1 KiB
108 lines
2.1 KiB
package com.crawler.model;
|
|
|
|
public class Movie {
|
|
private int rank;
|
|
private String title;
|
|
private double rating;
|
|
private int ratingPeople;
|
|
private String director;
|
|
private String actors;
|
|
private String year;
|
|
private String country;
|
|
private String genre;
|
|
private String quote;
|
|
|
|
// Getters and Setters
|
|
public int getRank() {
|
|
return rank;
|
|
}
|
|
|
|
public void setRank(int rank) {
|
|
this.rank = rank;
|
|
}
|
|
|
|
public String getTitle() {
|
|
return title;
|
|
}
|
|
|
|
public void setTitle(String title) {
|
|
this.title = title;
|
|
}
|
|
|
|
public double getRating() {
|
|
return rating;
|
|
}
|
|
|
|
public void setRating(double rating) {
|
|
this.rating = rating;
|
|
}
|
|
|
|
public int getRatingPeople() {
|
|
return ratingPeople;
|
|
}
|
|
|
|
public void setRatingPeople(int ratingPeople) {
|
|
this.ratingPeople = ratingPeople;
|
|
}
|
|
|
|
public String getDirector() {
|
|
return director;
|
|
}
|
|
|
|
public void setDirector(String director) {
|
|
this.director = director;
|
|
}
|
|
|
|
public String getActors() {
|
|
return actors;
|
|
}
|
|
|
|
public void setActors(String actors) {
|
|
this.actors = actors;
|
|
}
|
|
|
|
public String getYear() {
|
|
return year;
|
|
}
|
|
|
|
public void setYear(String year) {
|
|
this.year = year;
|
|
}
|
|
|
|
public String getCountry() {
|
|
return country;
|
|
}
|
|
|
|
public void setCountry(String country) {
|
|
this.country = country;
|
|
}
|
|
|
|
public String getGenre() {
|
|
return genre;
|
|
}
|
|
|
|
public void setGenre(String genre) {
|
|
this.genre = genre;
|
|
}
|
|
|
|
public String getQuote() {
|
|
return quote;
|
|
}
|
|
|
|
public void setQuote(String quote) {
|
|
this.quote = quote;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "Movie{" +
|
|
"rank=" + rank +
|
|
", title='" + title + '\'' +
|
|
", rating=" + rating +
|
|
", ratingPeople=" + ratingPeople +
|
|
", director='" + director + '\'' +
|
|
", year='" + year + '\'' +
|
|
", genre='" + genre + '\'' +
|
|
'}';
|
|
}
|
|
}
|