ArtEvaluation.cs 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. using DocumentFormat.OpenXml.Office2021.DocumentTasks;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Text.Json;
  7. using System.Text.Json.Serialization;
  8. using System.Threading.Tasks;
  9. namespace TEAMModelOS.SDK.Models.Cosmos.Common
  10. {
  11. public class ArtEvaluation : CosmosEntity
  12. {
  13. public ArtEvaluation()
  14. {
  15. pk = "Art";
  16. }
  17. public string name { get; set; }
  18. public string school { get; set; }
  19. //高级设置
  20. public List<Tasks> settings { get; set; } = new List<Tasks>();
  21. public string creatorId { get; set; }
  22. public long createTime { get; set; }
  23. public long updateTime { get; set; }
  24. //教研类型
  25. public int type { get; set; } = 0;
  26. /// <summary>
  27. /// 行政班
  28. /// </summary>
  29. public List<string> classes { get; set; } = new List<string>();
  30. /// <summary>
  31. /// 学生名单(包含自定义个人学生名单,学校教学班)
  32. /// </summary>
  33. public List<string> stuLists { get; set; } = new List<string>();
  34. public List<string> tchLists { get; set; } = new List<string>();
  35. public List<string> sIds { get; set; } = new List<string>();
  36. /// <summary>
  37. /// 发布对象全部信息。由前端操作,用于前端回显发布对象的格式。
  38. /// </summary>
  39. public List<JsonElement> targets { get; set; } = new List<JsonElement>();
  40. public string progress { get; set; }
  41. public string scope { get; set; }
  42. public int? status { get; set; } = 0;
  43. //记录该评测内容下blob大小
  44. public long? size { get; set; } = 0;
  45. /// <summary>
  46. ///发布层级 类型 school area
  47. /// </summary>
  48. public string owner { get; set; }
  49. public string areaId { get; set; }
  50. public string pId { get; set; }
  51. public string presenter { get; set; }
  52. public string topic { get; set; }
  53. public long startTime { get; set; }
  54. public long endTime { get; set; }
  55. public long uploadSTime { get; set; }
  56. public long uploadETime { get; set; }
  57. public string uploadProgress { get; set; }
  58. public string address { get; set; }
  59. //培训内容
  60. public string desc { get; set; }
  61. public string img { get; set; }
  62. /* public string workId { get; set; }
  63. public string surveyId { get; set; }
  64. public string examId { get; set; }*/
  65. //发布层级 0校级,1区级
  66. public int? publish { get; set; } = 0;
  67. public List<ArtSubject> subjects { get; set; } = new List<ArtSubject>();
  68. public ArtPeriod period { get; set; } = new ArtPeriod();
  69. public string periodType { get; set; }
  70. public List<LostStudent> lost { get; set; } = new List<LostStudent>();
  71. //用来判定是否已经处理过缺考人数逻辑标识
  72. public int? pass { get; set; } = 0;
  73. public List<int> miss { get; set; } = new List<int>();
  74. public List<Zymusicstd> zymusicstds { get; set; } = new List<Zymusicstd>();
  75. }
  76. public class Zymusicstd
  77. {
  78. public string code { get; set; }
  79. public string label { get; set; }
  80. public double percent { get; set; }
  81. }
  82. public class LostStudent {
  83. public string code { get; set; }
  84. public string subject { get; set; }
  85. public double stu { get; set; }
  86. }
  87. public class Tasks {
  88. public string id { get; set; }
  89. public string quotaname { get; set; }
  90. public List<string> path { get; set; } = new List<string>();
  91. public List<Acs> task { get; set; } = new List<Acs>();
  92. }
  93. public class ArtSubject {
  94. public string id { get; set; }
  95. public string name { get; set; }
  96. }
  97. public class ArtPeriod
  98. {
  99. public string id { get; set; }
  100. public string name { get; set; }
  101. }
  102. public class Acs {
  103. [JsonPropertyName("infoId")]
  104. public string infoId { get; set; }
  105. public string acId { get; set; }
  106. public string name { get; set; }
  107. public string subject { get; set; }
  108. public int? isOrder { get; set; } = 0;
  109. public int? type { get; set; } = 0;
  110. public string workDesc { get; set; }
  111. public long workEnd { get; set; }
  112. }
  113. }