Class AnswerDTO

java.lang.Object
it.unimib.unimibmodules.dto.AnswerDTO

public class AnswerDTO extends Object
DTO for Answer.
Version:
0.4.1
Author:
Davide Costantini
  • Field Details

    • id

      private int id
      Serialization of the id of the close-ended answer.
    • answerText

      private String answerText
      Serialization of the text of the answer.
    • userDTO

      private UserDTO userDTO
      Serialization of the id of the user who created the answer.
    • surveyDTO

      private SurveyDTO surveyDTO
      Serialization of the survey to which this answer belongs.
    • questionDTO

      private QuestionDTO questionDTO
      Serialization of the question to which this answer belongs.
    • closeEndedAnswerDTOs

      private Set<CloseEndedAnswerDTO> closeEndedAnswerDTOs
      Serialization of the list of close-ended answers related to this answer.
  • Constructor Details

    • AnswerDTO

      public AnswerDTO()