Class FilmComment

java.lang.Object
com.esprit.models.films.FilmComment

@Entity public class FilmComment extends Object
Represents a film comment.
  • Field Details

    • id

      private Long id
    • comment

      private String comment
    • client

      private Client client
    • film

      private Film film
  • Constructor Details

    • FilmComment

      public FilmComment(String comment, Client client, Film film)
      Constructor without id for creating new comment instances.
      Parameters:
      comment - the comment text
      client - the user who made the comment
      film - the film to which the comment belongs