Class Episode

java.lang.Object
com.esprit.models.series.Episode

@Entity public class Episode extends Object
  • Field Details

    • id

      private Long id
    • title

      private String title
    • episodeNumber

      private int episodeNumber
    • season

      private int season
    • image

      private String image
    • video

      private String video
    • seriesId

      private int seriesId
    • series

      private Series series
    • feedbacks

      private List<Feedback> feedbacks
  • Constructor Details

    • Episode

      public Episode(String title, int episodeNumber, int season, String image, String video, int seriesId)
      Constructor without id for creating new episode instances.
      Parameters:
      title - the title of the episode
      episodeNumber - the episode number
      season - the season number
      image - the image URL of the episode
      video - the video URL of the episode
      seriesId - the ID of the series