ExerciseDto.cs 629 B

123456789101112131415161718192021222324
  1. using MessagePack;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. using TEAMModelOS.Model.Core.Dtos;
  6. namespace TEAMModelOS.Model.Evaluation.Dtos
  7. {
  8. [MessagePackObject(keyAsPropertyName: true)]
  9. public class ExerciseDto
  10. {
  11. public ExerciseDto()
  12. {
  13. Option = new List<CodeValue>();
  14. Answer = new List<string>();
  15. }
  16. public string Question { get; set; }
  17. public List<CodeValue> Option { get; set; }
  18. public List<string> Answer { get; set; }
  19. public string Explain { get; set; }
  20. public string Type { get; set; }
  21. }
  22. }