@@ -0,0 +1,1742 @@
+package com.twu.biblioteca.model;%0A%0Apublic class Movie %7B%0A%0A    private String name;%0A    private int year;%0A    private String director;%0A    private int rating;%0A%0A    public Movie(String name, int year, String director, int rating) %7B%0A        this.name = name;%0A        this.year = year;%0A        this.director = director;%0A        this.rating = rating;%0A    %7D%0A%0A    @Override%0A    public boolean equals(Object o) %7B%0A        if (this == o) return true;%0A        if (o == null %7C%7C getClass() != o.getClass()) return false;%0A%0A        Movie movie = (Movie) o;%0A%0A        if (getYear() != movie.getYear()) return false;%0A        if (getRating() != movie.getRating()) return false;%0A        if (getName() != null ? !getName().equals(movie.getName()) : movie.getName() != null) return false;%0A        return getDirector() != null ? getDirector().equals(movie.getDirector()) : movie.getDirector() == null;%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        int result = getName() != null ? getName().hashCode() : 0;%0A        result = 31 * result + getYear();%0A        result = 31 * result + (getDirector() != null ? getDirector().hashCode() : 0);%0A        result = 31 * result + getRating();%0A        return result;%0A    %7D%0A%0A    public String getName() %7B%0A        return name;%0A    %7D%0A%0A    public void setName(String name) %7B%0A        this.name = name;%0A    %7D%0A%0A    public int getYear() %7B%0A        return year;%0A    %7D%0A%0A    public void setYear(int year) %7B%0A        this.year = year;%0A    %7D%0A%0A    public String getDirector() %7B%0A        return director;%0A    %7D%0A%0A    public void setDirector(String director) %7B%0A        this.director = director;%0A    %7D%0A%0A    public int getRating() %7B%0A        return rating;%0A    %7D%0A%0A    public void setRating(int rating) %7B%0A        this.rating = rating;%0A    %7D%0A%7D%0A

add model Movie