Class Category

java.lang.Object
it.unimib.unimibmodules.model.Category

@Entity public class Category extends Object
Represents a category for a question.
Version:
0.4.1
Author:
Lorenzo Occhipinti
  • Field Details

    • id

      private int id
      The id of the Category.
    • name

      private String name
      The name of the Category.
    • questions

      private Set<Question> questions
      Questions that are in this category
  • Constructor Details

    • Category

      public Category()
      Creates an empty Category.