ExamClassResult.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using TEAMModelOS.SDK.Context.Attributes.Azure;
  6. using TEAMModelOS.SDK.DI;
  7. namespace TEAMModelOS.SDK.Models
  8. {
  9. public class ExamClassResult :CosmosEntity
  10. {
  11. public ExamClassResult() {
  12. pk = "ExamClassResult";
  13. studentAnswers = new List<List<List<string>>>();
  14. studentScores = new List<List<double>>();
  15. info = new ClassInfo();
  16. studentIds = new List<string>();
  17. studentAnswers = new List<List<List<string>>>();
  18. studentScores = new List<List<double>>();
  19. }
  20. public string school { get; set; }
  21. public string examId { get; set; }
  22. public string subjectId { get; set; }
  23. public int year { get; set; }
  24. public ClassInfo info { get; set; }
  25. public bool progress { get; set; } = false;
  26. //public PaperSimple paper { get; set; }
  27. //public List<double> point { get; set; }
  28. public List<string> studentIds { get; set; }
  29. public List<List<List<string>>> studentAnswers { get; set; }
  30. public List<List<double>> studentScores { get; set; }
  31. public string scope { get; set; }
  32. }
  33. /* public class PaperSimple {
  34. public string id { get; set; }
  35. public string name { get; set; }
  36. public string code { get; set; }
  37. public string blob { get; set; }
  38. public string scope { get; set; }
  39. }*/
  40. public class ClassInfo {
  41. public string id { get; set; }
  42. public string name { get; set; }
  43. //public string code { get; set; }
  44. }
  45. }