package service.models; public class Rating { Long id; User user; Movie product; Integer rating; Long timestamp; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public User getUser() { return user; } public void setUser(User user) { this.user = user; } public Movie getProduct() { return product; } public void setProduct(Movie product) { this.product = product; } public Integer getRating() { return rating; } public void setRating(Integer rating) { this.rating = rating; } public Long getTimestamp() { return timestamp; } public void setTimestamp(Long timestamp) { this.timestamp = timestamp; } }