Class Category

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

@Entity(name="SeriesCategory") public class Category extends Object
  • Field Details

    • id

      private Long id
    • name

      private String name
    • description

      private String description
    • seriesList

      private List<Series> seriesList
  • Constructor Details

    • Category

      public Category(String name, String description)
      Constructor without id for creating new category instances.
      Parameters:
      name - the name of the category
      description - the description of the category