ExamClassResult.cs 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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 TEAMModelFunction
  8. {
  9. public class ExamClassResult : ID
  10. {
  11. public ExamClassResult() {
  12. //paper = new PaperSimple();
  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 pk { get; set; }
  21. [PartitionKey]
  22. public string code { get; set; }
  23. public string school { get; set; }
  24. public string id { get; set; }
  25. public string examId { get; set; }
  26. public string subjectId { get; set; }
  27. public int year { get; set; }
  28. public ClassInfo info { get; set; }
  29. public bool progress { get; set; }
  30. //public PaperSimple paper { get; set; }
  31. //public List<double> point { get; set; }
  32. public List<string> studentIds { get; set; }
  33. public List<List<List<string>>> studentAnswers { get; set; } = new List<List<List<string>>>();
  34. public List<List<double>> studentScores { get; set; }
  35. public string scope { get; set; }
  36. public int? ttl { get; set; }
  37. }
  38. /* public class PaperSimple {
  39. public string id { get; set; }
  40. public string name { get; set; }
  41. public string code { get; set; }
  42. public string blob { get; set; }
  43. public string scope { get; set; }
  44. }*/
  45. public class ClassInfo {
  46. public string id { get; set; }
  47. public string name { get; set; }
  48. //public string code { get; set; }
  49. }
  50. }