No Description

AnsweredQuestionModel.java 597B

12345678910111213141516
  1. package uprrp.tania.models;
  2. public class AnsweredQuestionModel {
  3. // NOTE these attribute must have the same names as the JSON fields we'll be sending to the server
  4. private final String id_question;
  5. private final String question_answer;
  6. private final String start_datetime;
  7. private final String end_datetime;
  8. public AnsweredQuestionModel(String id, String answer, String startDatetime, String endDatetime) {
  9. this.id_question = id;
  10. this.question_answer = answer;
  11. this.start_datetime = startDatetime;
  12. this.end_datetime = endDatetime;
  13. }
  14. }