ExamAbsentReplaceOutput.cs 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 监测缺测替补上报输出参数
  5. /// </summary>
  6. public class ExamAbsentReplaceOutput : DEntityOutput
  7. {
  8. /// <summary>
  9. /// 监测计划ID
  10. /// </summary>
  11. [Required]
  12. public int ExamPlanId { get; set; }
  13. /// <summary>
  14. /// 机构ID
  15. /// </summary>
  16. [Required]
  17. public short SysOrgId { get; set; }
  18. /// <summary>
  19. /// 校区ID
  20. /// </summary>
  21. public short? SysOrgBranchId { get; set; }
  22. /// <summary>
  23. /// 监测年级ID
  24. /// </summary>
  25. [Required]
  26. public short ExamGradeId { get; set; }
  27. /// <summary>
  28. /// 年级ID
  29. /// </summary>
  30. [Required]
  31. public short GradeId { get; set; }
  32. /// <summary>
  33. /// 班级ID
  34. /// </summary>
  35. [Required]
  36. public long SchoolClassId { get; set; }
  37. /// <summary>
  38. /// 班号
  39. /// </summary>
  40. [Required]
  41. public short ClassNumber { get; set; }
  42. /// <summary>
  43. /// 缺测学生姓名
  44. /// </summary>
  45. [Required]
  46. public string AbsentName { get; set; }
  47. /// <summary>
  48. /// 缺测学生监测号
  49. /// </summary>
  50. [Required]
  51. public string AbsentExamNumber { get; set; }
  52. /// <summary>
  53. /// 缺测科目
  54. /// </summary>
  55. [Required]
  56. public string AbsentCourses { get; set; }
  57. /// <summary>
  58. /// 缺测原因
  59. /// </summary>
  60. [Required]
  61. public string AbsentReason { get; set; }
  62. /// <summary>
  63. /// 是否有替补
  64. /// </summary>
  65. [Required]
  66. public bool IsReplaced { get; set; } = false;
  67. /// <summary>
  68. /// 替补学生姓名
  69. /// </summary>
  70. public string ReplaceName { get; set; }
  71. /// <summary>
  72. /// 替补学生监测号
  73. /// </summary>
  74. public string ReplaceExamNumber { get; set; }
  75. /// <summary>
  76. /// 家长姓名
  77. /// </summary>
  78. public string PatriarchName { get; set; }
  79. /// <summary>
  80. /// 家长电话
  81. /// </summary>
  82. [Required]
  83. public string PatriarchTel { get; set; }
  84. /// <summary>
  85. /// 备注
  86. /// </summary>
  87. public string Remark { get; set; }
  88. /// <summary>
  89. /// 状态
  90. /// </summary>
  91. [Required]
  92. public AuditStatus Status { get; set; }
  93. /// <summary>
  94. /// 班级
  95. /// </summary>
  96. public SchoolClassLiteOutput SchoolClass { get; set; }
  97. /// <summary>
  98. /// 校区
  99. /// </summary>
  100. public SysOrgLiteOutput SysOrgBranch { get; set; }
  101. /// <summary>
  102. /// 监测年级
  103. /// </summary>
  104. public ExamGradeOutput ExamGrade { get; set; }
  105. /// <summary>
  106. /// 缺测科目列表
  107. /// </summary>
  108. public List<CourseMiniOutput> AbsentCourseList { get; set; }
  109. /// <summary>
  110. /// 佐证材料列表
  111. /// </summary>
  112. public List<AttachmentItem> AttachmentList { get; set; } = new();
  113. /// <summary>
  114. /// 审核记录
  115. /// </summary>
  116. public List<AuditItem> AuditList { get; set; } = new();
  117. }
  118. /// <summary>
  119. /// 监测缺测替补统计输出参数
  120. /// </summary>
  121. public class ExamAbsentReplaceCountOutput
  122. {
  123. /// <summary>
  124. /// 班级列表
  125. /// </summary>
  126. public List<short> ClassNumberList { get; set; }
  127. /// <summary>
  128. /// 统计数据列表
  129. /// </summary>
  130. public List<dynamic> Items { get; set; }
  131. /// <summary>
  132. /// 总数
  133. /// </summary>
  134. public int Total { get; set; }
  135. }
  136. /// <summary>
  137. /// 监测缺测替补批量上传行数据类型
  138. /// </summary>
  139. public class UploadExamAbsentReplaceOutput : UploadExamDataBase
  140. {
  141. /// <summary>
  142. /// 监测年级ID
  143. /// </summary>
  144. public int? ExamGradeId { get; set; }
  145. /// <summary>
  146. /// 年级ID
  147. /// </summary>
  148. public short? GradeId { get; set; }
  149. /// <summary>
  150. /// 班级号
  151. /// </summary>
  152. [Required]
  153. public short ClassNumber { get; set; }
  154. /// <summary>
  155. /// 缺测学生姓名
  156. /// </summary>
  157. public string AbsentName { get; set; }
  158. /// <summary>
  159. /// 缺测学生监测号
  160. /// </summary>
  161. public string AbsentExamNumber { get; set; }
  162. /// <summary>
  163. /// 缺测科目
  164. /// </summary>
  165. public string AbsentCourseText { get; set; }
  166. /// <summary>
  167. /// 缺测科目
  168. /// </summary>
  169. public List<CourseMiniOutput> AbsentCourseList { get; set; } = new();
  170. /// <summary>
  171. /// 缺测原因
  172. /// </summary>
  173. public string AbsentReason { get; set; }
  174. /// <summary>
  175. /// 是否有替补
  176. /// </summary>
  177. public bool IsReplaced { get; set; } = false;
  178. /// <summary>
  179. /// 替补学生姓名
  180. /// </summary>
  181. public string ReplaceName { get; set; }
  182. /// <summary>
  183. /// 替补学生监测号
  184. /// </summary>
  185. public string ReplaceExamNumber { get; set; }
  186. /// <summary>
  187. /// 家长姓名
  188. /// </summary>
  189. public string PatriarchName { get; set; }
  190. /// <summary>
  191. /// 家长电话
  192. /// </summary>
  193. public string PatriarchTel { get; set; }
  194. /// <summary>
  195. /// 备注
  196. /// </summary>
  197. public string Remark { get; set; }
  198. }