ExamStudentOutput.cs 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  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? NceeCourseCombId { 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? NceeCourseCombId { get; set; }
  141. /// <summary>
  142. /// 选科组合名称
  143. /// </summary>
  144. public string NceeCourseCombName { 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 ExamStudentGradeClassStudentCountOutput
  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. }
  210. /// <summary>
  211. /// 监测学生各班学生人数统计
  212. /// </summary>
  213. public class ExamStudentCountItem
  214. {
  215. /// <summary>
  216. /// 机构ID
  217. /// </summary>
  218. [Required]
  219. public short SysOrgId { get; set; }
  220. /// <summary>
  221. /// 机构全称
  222. /// </summary>
  223. [Required]
  224. public string SysOrgFullName { get; set; }
  225. /// <summary>
  226. /// 机构名称
  227. /// </summary>
  228. [Required]
  229. public string SysOrgName { get; set; }
  230. /// <summary>
  231. /// 机构代码
  232. /// </summary>
  233. [Required]
  234. public string SysOrgCode { get; set; }
  235. /// <summary>
  236. /// 校区ID
  237. /// </summary>
  238. public short? SysOrgBranchId { get; set; }
  239. /// <summary>
  240. /// 校区名称
  241. /// </summary>
  242. public string SysOrgBranchName { get; set; }
  243. /// <summary>
  244. /// 城乡类型
  245. /// </summary>
  246. [Required]
  247. public UrbanRuralType UrbanRuralType { get; set; }
  248. /// <summary>
  249. /// 年级ID
  250. /// </summary>
  251. [Required]
  252. public short GradeId { get; set; }
  253. /// <summary>
  254. /// 入学年份
  255. /// </summary>
  256. [Required]
  257. public short GradeBeginYear { get; set; }
  258. /// <summary>
  259. /// 年级号
  260. /// </summary>
  261. [Required]
  262. public short GradeNumber { get; set; }
  263. /// <summary>
  264. /// 年级名称
  265. /// </summary>
  266. [Required]
  267. public string GradeName { get; set; }
  268. /// <summary>
  269. /// 班级ID
  270. /// </summary>
  271. [Required]
  272. public long SchoolClassId { get; set; }
  273. /// <summary>
  274. /// 班级号
  275. /// </summary>
  276. [Required]
  277. public short ClassNumber { get; set; }
  278. /// <summary>
  279. /// 年级班级数量
  280. /// </summary>
  281. [Required]
  282. public int ClassCount { get; set; }
  283. /// <summary>
  284. /// 班级学生人数
  285. /// </summary>
  286. [Required]
  287. public int StudentCount { get; set; }
  288. /// <summary>
  289. /// 年级数量
  290. /// </summary>
  291. [Required]
  292. public int GradeCount { get; set; }
  293. }