ExamStudentOutput.cs 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 监测学生输出参数
  5. /// </summary>
  6. public class ExamStudentOutput
  7. {
  8. /// <summary>
  9. /// 主键
  10. /// </summary>
  11. [Required]
  12. public long Id { get; set; }
  13. /// <summary>
  14. /// 监测计划ID
  15. /// </summary>
  16. [Required]
  17. public int ExamPlanId { get; set; }
  18. /// <summary>
  19. /// 机构ID
  20. /// </summary>
  21. [Required]
  22. public short SysOrgId { get; set; }
  23. /// <summary>
  24. /// 校区ID
  25. /// </summary>
  26. public short? SysOrgBranchId { get; set; }
  27. /// <summary>
  28. /// 监测年级ID
  29. /// </summary>
  30. [Required]
  31. public short ExamGradeId { get; set; }
  32. /// <summary>
  33. /// 年级ID
  34. /// </summary>
  35. [Required]
  36. public short GradeId { get; set; }
  37. /// <summary>
  38. /// 班级ID
  39. /// </summary>
  40. [Required]
  41. public long SchoolClassId { get; set; }
  42. /// <summary>
  43. /// 班号
  44. /// </summary>
  45. [Required]
  46. public short ClassNumber { get; set; }
  47. /// <summary>
  48. /// 高中选科组合ID
  49. /// </summary>
  50. public short? CourseCombId { get; set; }
  51. /// <summary>
  52. /// 自编监测号
  53. /// </summary>
  54. public string ExamNumber { get; set; } = "";
  55. /// <summary>
  56. /// 学籍号
  57. /// </summary>
  58. public string StudentNumber { get; set; } = "";
  59. /// <summary>
  60. /// 考场号
  61. /// </summary>
  62. public string RoomNumber { get; set; } = "";
  63. /// <summary>
  64. /// 座位号
  65. /// </summary>
  66. public string SeatNumber { get; set; } = "";
  67. /// <summary>
  68. /// 姓名
  69. /// </summary>
  70. [Required]
  71. public string Name { get; set; }
  72. /// <summary>
  73. /// 证件类型
  74. /// </summary>
  75. [Required]
  76. public CertificateType CertificateType { get; set; }
  77. /// <summary>
  78. /// 证件号码
  79. /// </summary>
  80. public string IdNumber { get; set; } = "";
  81. /// <summary>
  82. /// 出生日期
  83. /// </summary>
  84. public DateTime? BirthDate { get; set; }
  85. /// <summary>
  86. /// 性别
  87. /// </summary>
  88. [Required]
  89. public Gender Gender { get; set; }
  90. /// <summary>
  91. /// 备注
  92. /// </summary>
  93. public string Remark { get; set; }
  94. ///// <summary>
  95. ///// 年级
  96. ///// </summary>
  97. //public GradeOutput Grade { get; set; }
  98. /// <summary>
  99. /// 班级
  100. /// </summary>
  101. public SchoolClassLiteOutput SchoolClass { get; set; }
  102. /// <summary>
  103. /// 校区
  104. /// </summary>
  105. public SysOrgLiteOutput SysOrgBranch { get; set; }
  106. /// <summary>
  107. /// 监测年级
  108. /// </summary>
  109. public ExamGradeOutput ExamGrade { get; set; }
  110. }
  111. /// <summary>
  112. /// 监测学生输出参数
  113. /// </summary>
  114. public class ExamStudentOrgOutput: ExamStudentOutput
  115. {
  116. /// <summary>
  117. /// 机构
  118. /// </summary>
  119. [Required]
  120. public SysOrgOutput SysOrg { get; set; }
  121. }
  122. /// <summary>
  123. /// 监测学生批量上传行数据类型
  124. /// </summary>
  125. public class UploadExamStudentOutput : UploadExamDataBase
  126. {
  127. /// <summary>
  128. /// 年级ID
  129. /// </summary>
  130. [Required]
  131. public short GradeId { get; set; }
  132. /// <summary>
  133. /// 班级号
  134. /// </summary>
  135. [Required]
  136. public short ClassNumber { get; set; }
  137. /// <summary>
  138. /// 选科组合ID
  139. /// </summary>
  140. public short? CourseCombId { get; set; }
  141. /// <summary>
  142. /// 选科组合名称
  143. /// </summary>
  144. public string CourseCombName { get; set; }
  145. /// <summary>
  146. /// 姓名
  147. /// </summary>
  148. [Required]
  149. public string Name { get; set; }
  150. /// <summary>
  151. /// 证件类型
  152. /// </summary>
  153. [Required]
  154. public CertificateType CertificateType { get; set; }
  155. /// <summary>
  156. /// 证件类型名称
  157. /// </summary>
  158. public string CertificateTypeName { get; set; } = "";
  159. /// <summary>
  160. /// 证件号码
  161. /// </summary>
  162. public string IdNumber { get; set; } = "";
  163. /// <summary>
  164. /// 性别
  165. /// </summary>
  166. public Gender? Gender { get; set; } = Core.Gender.UNKNOWN;
  167. /// <summary>
  168. /// 性别名称
  169. /// </summary>
  170. public string GenderName { get; set; } = "";
  171. /// <summary>
  172. /// 学籍号
  173. /// </summary>
  174. public string StudentNumber { get; set; }
  175. /// <summary>
  176. /// 自编监测号
  177. /// </summary>
  178. public string ExamNumber { get; set; }
  179. /// <summary>
  180. /// 考场号
  181. /// </summary>
  182. public string RoomNumber { get; set; } = "";
  183. /// <summary>
  184. /// 座位号
  185. /// </summary>
  186. public string SeatNumber { get; set; } = "";
  187. /// <summary>
  188. /// 备注
  189. /// </summary>
  190. public string Remark { get; set; }
  191. }
  192. /// <summary>
  193. /// 监测学生统计输出参数
  194. /// </summary>
  195. public class ExamStudentCountOutput
  196. {
  197. /// <summary>
  198. /// 班级列表
  199. /// </summary>
  200. public List<short> ClassNumberList { get; set; }
  201. /// <summary>
  202. /// 统计数据列表
  203. /// </summary>
  204. public List<dynamic> Items { get; set; }
  205. /// <summary>
  206. /// 总数
  207. /// </summary>
  208. public int Total { get; set; }
  209. }