ExamSpecialStudentInput.cs 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 导入监测特殊学生输入参数
  5. /// </summary>
  6. public class ImportExamSpecialStudentItem
  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 int ExamGradeId { get; set; }
  18. /// <summary>
  19. /// 年级ID
  20. /// </summary>
  21. [Required]
  22. public short GradeId { get; set; }
  23. /// <summary>
  24. /// 班级号
  25. /// </summary>
  26. [Required]
  27. public short ClassNumber { get; set; }
  28. /// <summary>
  29. /// 姓名
  30. /// </summary>
  31. [Required]
  32. public string Name { get; set; }
  33. /// <summary>
  34. /// 证件类型
  35. /// </summary>
  36. [Required]
  37. public CertificateType CertificateType { get; set; }
  38. /// <summary>
  39. /// 证件号码
  40. /// </summary>
  41. public string IdNumber { get; set; } = "";
  42. /// <summary>
  43. /// 性别
  44. /// </summary>
  45. public Gender? Gender { get; set; } = Core.Gender.UNKNOWN;
  46. /// <summary>
  47. /// 学籍号
  48. /// </summary>
  49. public string StudentNumber { get; set; }
  50. /// <summary>
  51. /// 申请原因
  52. /// </summary>
  53. [Required, StringLength(2000)]
  54. public string ApplyReason { get; set; }
  55. /// <summary>
  56. /// 家长姓名
  57. /// </summary>
  58. [StringLength(100)]
  59. public string PatriarchName { get; set; }
  60. /// <summary>
  61. /// 家长电话
  62. /// </summary>
  63. [StringLength(50)]
  64. public string PatriarchTel { get; set; }
  65. /// <summary>
  66. /// 备注
  67. /// </summary>
  68. public string Remark { get; set; }
  69. }
  70. /// <summary>
  71. /// 导入监测特殊学生输入参数
  72. /// </summary>
  73. public class ImportExamSpecialStudentInput
  74. {
  75. /// <summary>
  76. /// 监测计划ID
  77. /// </summary>
  78. [Required]
  79. public int ExamPlanId { get; set; }
  80. /// <summary>
  81. /// 机构ID
  82. /// </summary>
  83. public short? SysOrgId { get; set; }
  84. /// <summary>
  85. /// 校区ID
  86. /// </summary>
  87. public short? SysOrgBranchId { get; set; }
  88. /// <summary>
  89. /// 导入行
  90. /// </summary>
  91. [Required]
  92. public List<ImportExamSpecialStudentItem> Items { get; set; }
  93. /// <summary>
  94. /// 数据导入模式
  95. /// </summary>
  96. [Required]
  97. public DataImportMode DataImportMode { get; set; }
  98. }
  99. /// <summary>
  100. /// 添加监测特殊学生上报输入参数
  101. /// </summary>
  102. public class AddExamSpecialStudentInput
  103. {
  104. /// <summary>
  105. /// 监测计划ID
  106. /// </summary>
  107. [Required]
  108. public int ExamPlanId { get; set; }
  109. /// <summary>
  110. /// 机构ID
  111. /// </summary>
  112. [Required]
  113. public short SysOrgId { get; set; }
  114. /// <summary>
  115. /// 校区ID
  116. /// </summary>
  117. public short? SysOrgBranchId { get; set; }
  118. /// <summary>
  119. /// 监测年级ID
  120. /// </summary>
  121. [Required]
  122. public int ExamGradeId { get; set; }
  123. /// <summary>
  124. /// 年级ID
  125. /// </summary>
  126. [Required]
  127. public short GradeId { get; set; }
  128. /// <summary>
  129. /// 班号
  130. /// </summary>
  131. [Required]
  132. public short ClassNumber { get; set; }
  133. /// <summary>
  134. /// 学籍号
  135. /// </summary>
  136. [StringLength(100)]
  137. public string StudentNumber { get; set; } = "";
  138. /// <summary>
  139. /// 姓名
  140. /// </summary>
  141. [Required, StringLength(100)]
  142. public string Name { get; set; }
  143. /// <summary>
  144. /// 证件类型
  145. /// </summary>
  146. [Required]
  147. public CertificateType CertificateType { get; set; } = CertificateType.NONE;
  148. /// <summary>
  149. /// 证件号码
  150. /// </summary>
  151. [StringLength(50)]
  152. public string IdNumber { get; set; } = "";
  153. /// <summary>
  154. /// 出生日期
  155. /// </summary>
  156. public DateTime? BirthDate { get; set; }
  157. /// <summary>
  158. /// 性别
  159. /// </summary>
  160. [Required]
  161. public Gender Gender { get; set; } = Gender.UNKNOWN;
  162. /// <summary>
  163. /// 申请原因
  164. /// </summary>
  165. [Required, StringLength(2000)]
  166. public string ApplyReason { get; set; }
  167. /// <summary>
  168. /// 家长姓名
  169. /// </summary>
  170. [StringLength(100)]
  171. public string PatriarchName { get; set; }
  172. /// <summary>
  173. /// 家长电话
  174. /// </summary>
  175. [StringLength(50)]
  176. public string PatriarchTel { get; set; }
  177. /// <summary>
  178. /// 备注
  179. /// </summary>
  180. [StringLength(200)]
  181. public string Remark { get; set; }
  182. }
  183. /// <summary>
  184. /// 更新监测特殊学生上报输入参数
  185. /// </summary>
  186. public class UpdateExamSpecialStudentInput
  187. {
  188. /// <summary>
  189. /// 主键
  190. /// </summary>
  191. [Required]
  192. public int Id { get; set; }
  193. /// <summary>
  194. /// 校区ID
  195. /// </summary>
  196. public short? SysOrgBranchId { get; set; }
  197. /// <summary>
  198. /// 班号
  199. /// </summary>
  200. [Required]
  201. public short ClassNumber { get; set; }
  202. /// <summary>
  203. /// 学籍号
  204. /// </summary>
  205. [StringLength(100)]
  206. public string StudentNumber { get; set; } = "";
  207. /// <summary>
  208. /// 姓名
  209. /// </summary>
  210. [Required, StringLength(100)]
  211. public string Name { get; set; }
  212. /// <summary>
  213. /// 证件类型
  214. /// </summary>
  215. [Required]
  216. public CertificateType CertificateType { get; set; } = CertificateType.NONE;
  217. /// <summary>
  218. /// 证件号码
  219. /// </summary>
  220. [StringLength(50)]
  221. public string IdNumber { get; set; } = "";
  222. /// <summary>
  223. /// 出生日期
  224. /// </summary>
  225. public DateTime? BirthDate { get; set; }
  226. /// <summary>
  227. /// 性别
  228. /// </summary>
  229. [Required]
  230. public Gender Gender { get; set; } = Gender.UNKNOWN;
  231. /// <summary>
  232. /// 申请原因
  233. /// </summary>
  234. [Required, StringLength(2000)]
  235. public string ApplyReason { get; set; }
  236. /// <summary>
  237. /// 家长姓名
  238. /// </summary>
  239. [StringLength(100)]
  240. public string PatriarchName { get; set; }
  241. /// <summary>
  242. /// 家长电话
  243. /// </summary>
  244. [StringLength(50)]
  245. public string PatriarchTel { get; set; }
  246. /// <summary>
  247. /// 备注
  248. /// </summary>
  249. [StringLength(200)]
  250. public string Remark { get; set; }
  251. }
  252. /// <summary>
  253. /// 清空监测特殊学生输入参数
  254. /// </summary>
  255. public class ClearExamSpecialStudentInput
  256. {
  257. /// <summary>
  258. /// 监测计划ID
  259. /// </summary>
  260. [Required]
  261. public int ExamPlanId { get; set; }
  262. }
  263. /// <summary>
  264. /// 分页查询监测特殊学生输入参数
  265. /// </summary>
  266. public class ExamSpecialStudentPageInput : PageInputBase
  267. {
  268. /// <summary>
  269. /// 监测计划ID
  270. /// </summary>
  271. [Required]
  272. public int ExamPlanId { get; set; }
  273. /// <summary>
  274. /// 机构ID
  275. /// </summary>
  276. public short? SysOrgId { get; set; }
  277. /// <summary>
  278. /// 校区ID
  279. /// </summary>
  280. public short? SysOrgBranchId { get; set; }
  281. /// <summary>
  282. /// 年级ID
  283. /// </summary>
  284. public short? GradeId { get; set; }
  285. /// <summary>
  286. /// 班级号
  287. /// </summary>
  288. public short? ClassNumber { get; set; }
  289. /// <summary>
  290. /// 姓名
  291. /// </summary>
  292. public string Name { get; set; }
  293. /// <summary>
  294. /// 证件类型
  295. /// </summary>
  296. public CertificateType? CertificateType { get; set; }
  297. /// <summary>
  298. /// 证件号码
  299. /// </summary>
  300. [StringLength(50)]
  301. public string IdNumber { get; set; }
  302. /// <summary>
  303. /// 性别
  304. /// </summary>
  305. public Gender? Gender { get; set; }
  306. /// <summary>
  307. /// 学籍号
  308. /// </summary>
  309. public string StudentNumber { get; set; }
  310. /// <summary>
  311. /// 申请原因
  312. /// </summary>
  313. [StringLength(2000)]
  314. public string ApplyReason { get; set; }
  315. /// <summary>
  316. /// 家长电话
  317. /// </summary>
  318. [StringLength(50)]
  319. public string PatriarchTel { get; set; }
  320. /// <summary>
  321. /// 往期是否已认定
  322. /// </summary>
  323. public bool? IsIdentified { get; set; }
  324. /// <summary>
  325. /// 状态
  326. /// </summary>
  327. public AuditStatus? Status { get; set; }
  328. }
  329. /// <summary>
  330. /// 特殊学生审核输入参数
  331. /// </summary>
  332. public class ExamSepcialStudentAuditInput
  333. {
  334. /// <summary>
  335. /// 监测特殊学生ID列表
  336. /// </summary>
  337. public List<int> Ids { get; set; }
  338. /// <summary>
  339. /// 是否通过
  340. /// </summary>
  341. public bool IsApproved { get; set; }
  342. /// <summary>
  343. /// 审核意见
  344. /// </summary>
  345. public string Remark { get; set; }
  346. }