ExamClassResult.cs 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. mark = new List<string>();
  20. }
  21. public string school { get; set; }
  22. public string examId { get; set; }
  23. public string subjectId { get; set; }
  24. public string gradeId { get; set; }
  25. public int year { get; set; }
  26. public ClassInfo info { get; set; }
  27. public bool progress { get; set; } = false;
  28. //public PaperSimple paper { get; set; }
  29. //public List<double> point { get; set; }
  30. public List<string> studentIds { get; set; }
  31. public List<List<string>> studentAnswers { get; set; }
  32. public List<List<double>> studentScores { get; set; }
  33. //批注
  34. public List<string> mark { get; set; }
  35. public string scope { get; set; }
  36. public List<double> sum { get; set; }
  37. public double average { get; set; }
  38. //单科单班得分率
  39. public double srate { get; set; }
  40. //单科单班标准差
  41. public double standard { get; set; }
  42. }
  43. /* public class PaperSimple {
  44. public string id { get; set; }
  45. public string name { get; set; }
  46. public string code { get; set; }
  47. public string blob { get; set; }
  48. public string scope { get; set; }
  49. }*/
  50. public class ClassInfo {
  51. public string id { get; set; }
  52. public string name { get; set; }
  53. //public string code { get; set; }
  54. }
  55. }