AnswerSubmitModel.swift 970 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // AnswerSubmitModel.swift
  3. // LMS
  4. //
  5. // Created by Suraj Kumar Mandal on 20/10/23.
  6. //
  7. import Foundation
  8. // MARK: - AnswerSubmitModel
  9. class AnswerSubmitModel: Codable {
  10. var createdBy, createdDate, lastModifiedBy, lastModifiedDate: String?
  11. var assessmentId, userId, questionId: Int?
  12. var quesType: String?
  13. var answers: [String]?
  14. var sessionId: Int?
  15. init(createdBy: String?, createdDate: String?, lastModifiedBy: String?, lastModifiedDate: String?, assessmentId: Int?, userId: Int?, questionId: Int?, quesType: String?, answers: [String]?, sessionId: Int?) {
  16. self.createdBy = createdBy
  17. self.createdDate = createdDate
  18. self.lastModifiedBy = lastModifiedBy
  19. self.lastModifiedDate = lastModifiedDate
  20. self.assessmentId = assessmentId
  21. self.userId = userId
  22. self.questionId = questionId
  23. self.quesType = quesType
  24. self.answers = answers
  25. self.sessionId = sessionId
  26. }
  27. }