ExamClassResult.cs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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<string>>();
  14. studentScores = new List<List<double>>();
  15. info = new ClassInfo();
  16. studentIds = new List<string>();
  17. studentScores = new List<List<double>>();
  18. sum = new 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<string>> studentAnswers { get; set; }
  30. public List<List<double>> studentScores { get; set; }
  31. public string scope { get; set; }
  32. public List<double> sum { get; set; }
  33. }
  34. /* public class PaperSimple {
  35. public string id { get; set; }
  36. public string name { get; set; }
  37. public string code { get; set; }
  38. public string blob { get; set; }
  39. public string scope { get; set; }
  40. }*/
  41. public class ClassInfo {
  42. public string id { get; set; }
  43. public string name { get; set; }
  44. //public string code { get; set; }
  45. }
  46. }