ExamResult.cs 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.Text;
  5. using TEAMModelOS.SDK.Context.Attributes.Azure;
  6. using TEAMModelOS.SDK.DI;
  7. namespace TEAMModelOS.SDK.Models
  8. {
  9. /// <summary>
  10. /// 考试成绩信息
  11. /// </summary>
  12. public class ExamResult:CosmosEntity
  13. {
  14. public ExamResult()
  15. {
  16. pk = "ExamResult";
  17. classes = new List<ClassRange>();
  18. studentScores = new List<List<double>>();
  19. studentIds = new List<string>();
  20. point = new List<double>();
  21. paper = new PaperSimple();
  22. }
  23. public string name { get; set; }
  24. public long time { get; set; }
  25. public string subjectId { get; set; }
  26. public List<ClassRange> classes { get; set; }
  27. public List<List<double>> studentScores { get; set; }
  28. public List<string> studentIds { get; set; }
  29. public List<double> point { get; set; }
  30. public string schoolId { get; set; }
  31. public PaperSimple paper { get; set; }
  32. public string scope { get; set; }
  33. public string examId { get; set; }
  34. public string school { get; set; }
  35. public int year { get; set; }
  36. public double average { get; set; }
  37. public double sRate { get; set; }
  38. public List<double> csRate { get; set; } = new List<double>();
  39. public List<string> lostStus { get; set; } = new List<string>();
  40. public double standard { get; set; }
  41. public List<Dictionary<string, int>> record { get; set; } = new List<Dictionary<string, int>>();
  42. public List<Dictionary<string, int>> phc { get; set; } = new List<Dictionary<string, int>>();
  43. public List<Dictionary<string, int>> plc { get; set; } = new List<Dictionary<string, int>>();
  44. }
  45. public class ClassRange {
  46. public string gradeId { get; set; }
  47. public string id { get; set; }
  48. public string name { get; set; }
  49. public List<int> range { get; set; }
  50. }
  51. }