ExamSpecialStudentOutput.cs 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 监测特殊学生上报输出参数
  5. /// </summary>
  6. public class ExamSpecialStudentOutput : 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. public string StudentNumber { get; set; } = "";
  46. /// <summary>
  47. /// 姓名
  48. /// </summary>
  49. [Required]
  50. public string Name { get; set; }
  51. /// <summary>
  52. /// 证件类型
  53. /// </summary>
  54. [Required]
  55. public CertificateType CertificateType { get; set; }
  56. /// <summary>
  57. /// 证件号码
  58. /// </summary>
  59. public string IdNumber { get; set; } = "";
  60. /// <summary>
  61. /// 出生日期
  62. /// </summary>
  63. public DateTime? BirthDate { get; set; }
  64. /// <summary>
  65. /// 性别
  66. /// </summary>
  67. [Required]
  68. public Gender Gender { get; set; }
  69. /// <summary>
  70. /// 申请原因
  71. /// </summary>
  72. [Required]
  73. public string ApplyReason { get; set; }
  74. /// <summary>
  75. /// 家长姓名
  76. /// </summary>
  77. public string PatriarchName { get; set; }
  78. /// <summary>
  79. /// 家长电话
  80. /// </summary>
  81. [Required]
  82. public string PatriarchTel { get; set; }
  83. /// <summary>
  84. /// 备注
  85. /// </summary>
  86. public string Remark { get; set; }
  87. /// <summary>
  88. /// 状态
  89. /// </summary>
  90. [Required]
  91. public AuditStatus Status { get; set; }
  92. /// <summary>
  93. /// 班级
  94. /// </summary>
  95. public SchoolClassLiteOutput SchoolClass { get; set; }
  96. /// <summary>
  97. /// 校区
  98. /// </summary>
  99. public SysOrgLiteOutput SysOrgBranch { get; set; }
  100. /// <summary>
  101. /// 监测年级
  102. /// </summary>
  103. public ExamGradeOutput ExamGrade { get; set; }
  104. /// <summary>
  105. /// 佐证材料列表
  106. /// </summary>
  107. public List<AttachmentItem> AttachmentList { get; set; } = new();
  108. /// <summary>
  109. /// 审核记录
  110. /// </summary>
  111. public List<AuditItem> AuditList { get; set; } = new();
  112. /// <summary>
  113. /// 往期是否已认定
  114. /// </summary>
  115. [Required]
  116. public bool IsPreIdentified { get; set; }
  117. }
  118. /// <summary>
  119. /// 监测特殊学生统计输出参数
  120. /// </summary>
  121. public class ExamSpecialStudentCountOutput
  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 UploadExamSpecialStudentOutput : 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. [Required]
  158. public string Name { get; set; }
  159. /// <summary>
  160. /// 证件类型
  161. /// </summary>
  162. [Required]
  163. public CertificateType CertificateType { get; set; }
  164. /// <summary>
  165. /// 证件类型名称
  166. /// </summary>
  167. public string CertificateTypeName { get; set; } = "";
  168. /// <summary>
  169. /// 证件号码
  170. /// </summary>
  171. public string IdNumber { get; set; } = "";
  172. /// <summary>
  173. /// 性别
  174. /// </summary>
  175. public Gender? Gender { get; set; } = Core.Gender.UNKNOWN;
  176. /// <summary>
  177. /// 性别名称
  178. /// </summary>
  179. public string GenderName { get; set; } = "";
  180. /// <summary>
  181. /// 学籍号
  182. /// </summary>
  183. public string StudentNumber { get; set; }
  184. /// <summary>
  185. /// 申请原因
  186. /// </summary>
  187. [Required]
  188. public string ApplyReason { get; set; }
  189. /// <summary>
  190. /// 家长姓名
  191. /// </summary>
  192. public string PatriarchName { get; set; }
  193. /// <summary>
  194. /// 家长电话
  195. /// </summary>
  196. [Required]
  197. public string PatriarchTel { get; set; }
  198. /// <summary>
  199. /// 备注
  200. /// </summary>
  201. public string Remark { get; set; }
  202. }