ExamPlanOutput.cs 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 监测计划简要输出参数
  5. /// </summary>
  6. public class ExamPlanLiteOutput : DEntityOutput
  7. {
  8. /// <summary>
  9. /// 学段:学前小初高
  10. /// </summary>
  11. [Required]
  12. public EducationStage EducationStage { get; set; }
  13. /// <summary>
  14. /// 学期ID
  15. /// </summary>
  16. [Required]
  17. public short SemesterId { get; set; }
  18. /// <summary>
  19. /// 序,同一学段、学期、监测类型从1开始计数
  20. /// </summary>
  21. [Required]
  22. public short Sequence { get; set; }
  23. /// <summary>
  24. /// 名称
  25. /// </summary>
  26. [Required]
  27. public string Name { get; set; }
  28. /// <summary>
  29. /// 全称
  30. /// </summary>
  31. [Required]
  32. public string FullName { get; set; }
  33. /// <summary>
  34. /// 简称
  35. /// </summary>
  36. [Required]
  37. public string ShortName { get; set; }
  38. /// <summary>
  39. /// 备注
  40. /// </summary>
  41. public string Remark { get; set; }
  42. /// <summary>
  43. /// 监测配置
  44. /// </summary>
  45. [Required]
  46. public string Config { get; set; }
  47. /// <summary>
  48. /// 是否已固定监测抽样方案
  49. /// </summary>
  50. [Required]
  51. public bool IsFixedExamSample { get; set; }
  52. /// <summary>
  53. /// 状态
  54. /// </summary>
  55. [Required]
  56. public ExamStatus Status { get; set; }
  57. /// <summary>
  58. /// 开始时间
  59. /// </summary>
  60. public DateTime? BeginTime { get; set; }
  61. /// <summary>
  62. /// 结束时间
  63. /// </summary>
  64. public DateTime? EndTime { get; set; }
  65. }
  66. /// <summary>
  67. /// 监测计划输出参数
  68. /// </summary>
  69. public class ExamPlanOutput : DEntityOutput
  70. {
  71. /// <summary>
  72. /// 学段:学前小初高
  73. /// </summary>
  74. [Required]
  75. public EducationStage EducationStage { get; set; }
  76. /// <summary>
  77. /// 学期ID
  78. /// </summary>
  79. [Required]
  80. public short SemesterId { get; set; }
  81. /// <summary>
  82. /// 序,同一学段、学期、监测类型从1开始计数
  83. /// </summary>
  84. [Required]
  85. public short Sequence { get; set; }
  86. /// <summary>
  87. /// 名称
  88. /// </summary>
  89. [Required]
  90. public string Name { get; set; }
  91. /// <summary>
  92. /// 全称
  93. /// </summary>
  94. [Required]
  95. public string FullName { get; set; }
  96. /// <summary>
  97. /// 简称
  98. /// </summary>
  99. [Required]
  100. public string ShortName { get; set; }
  101. /// <summary>
  102. /// 备注
  103. /// </summary>
  104. public string Remark { get; set; }
  105. /// <summary>
  106. /// 监测配置
  107. /// </summary>
  108. [Required]
  109. public string Config { get; set; }
  110. /// <summary>
  111. /// 是否已固定监测抽样方案
  112. /// </summary>
  113. [Required]
  114. public bool IsFixedExamSample { get; set; }
  115. /// <summary>
  116. /// 状态
  117. /// </summary>
  118. [Required]
  119. public ExamStatus Status { get; set; }
  120. /// <summary>
  121. /// 开始时间
  122. /// </summary>
  123. public DateTime? BeginTime { get; set; }
  124. /// <summary>
  125. /// 结束时间
  126. /// </summary>
  127. public DateTime? EndTime { get; set; }
  128. /// <summary>
  129. /// 学期
  130. /// </summary>
  131. public SemesterOutput Semester { get; set; }
  132. /// <summary>
  133. /// 监测年级列表
  134. /// </summary>
  135. public List<ExamGradeOutput> ExamGrades { get; set; }
  136. /// <summary>
  137. /// 监测上报类型列表
  138. /// </summary>
  139. public List<ExamDataReportOutput> ExamDataReports { get; set; }
  140. /// <summary>
  141. /// 监测发布内容列表
  142. /// </summary>
  143. public List<ExamDataPublishOutput> ExamDataPublishs { get; set; }
  144. }
  145. /// <summary>
  146. /// 计划内审核输出参数
  147. /// </summary>
  148. public class ExamPlanAuditOutput
  149. {
  150. /// <summary>
  151. /// 监测计划ID
  152. /// </summary>
  153. [Required]
  154. public int Id { get; set; }
  155. /// <summary>
  156. /// 监测计划名称
  157. /// </summary>
  158. [Required]
  159. public string Name { get; set; }
  160. /// <summary>
  161. /// 监测计划全称
  162. /// </summary>
  163. [Required]
  164. public string FullName { get;set; }
  165. /// <summary>
  166. /// 监测计划简称
  167. /// </summary>
  168. [Required]
  169. public string ShortName { get; set; }
  170. /// <summary>
  171. /// 学段
  172. /// </summary>
  173. [Required]
  174. public EducationStage EducationStage { get; set; }
  175. /// <summary>
  176. /// 学期ID
  177. /// </summary>
  178. [Required]
  179. public short SemesterId { get; set; }
  180. /// <summary>
  181. /// 状态
  182. /// </summary>
  183. [Required]
  184. public ExamStatus Status { get; set; }
  185. /// <summary>
  186. /// 机构数量
  187. /// </summary>
  188. [Required]
  189. public int OrgCount { get; set; } = 0;
  190. /// <summary>
  191. /// 总数量
  192. /// </summary>
  193. [Required]
  194. public int TotalCount { get; set; } = 0;
  195. /// <summary>
  196. /// 待审核数量
  197. /// </summary>
  198. [Required]
  199. public int AuditCount { get; set; } = 0;
  200. /// <summary>
  201. /// 已通过数量
  202. /// </summary>
  203. [Required]
  204. public int ApprovedCount { get; set; } = 0;
  205. /// <summary>
  206. /// 已驳回数量
  207. /// </summary>
  208. [Required]
  209. public int RejectedCount { get; set; } = 0;
  210. /// <summary>
  211. /// 前期认定数量
  212. /// </summary>
  213. [Required]
  214. public int PreIdentifiedCount { get; set; } = 0;
  215. }
  216. /// <summary>
  217. /// 计划内审核输出参数
  218. /// </summary>
  219. public class ExamPlanOrgAuditOutput
  220. {
  221. /// <summary>
  222. /// 行号
  223. /// </summary>
  224. [Required]
  225. public int RowNumber { get; set; }
  226. /// <summary>
  227. /// 监测计划ID
  228. /// </summary>
  229. [Required]
  230. public int ExamPlanId { get; set; }
  231. /// <summary>
  232. /// 监测计划名称
  233. /// </summary>
  234. [Required]
  235. public string ExamPlanName { get; set; }
  236. /// <summary>
  237. /// 监测计划全称
  238. /// </summary>
  239. [Required]
  240. public string ExamPlanFullName { get; set; }
  241. /// <summary>
  242. /// 学段
  243. /// </summary>
  244. [Required]
  245. public EducationStage EducationStage { get; set; }
  246. /// <summary>
  247. /// 学期ID
  248. /// </summary>
  249. [Required]
  250. public short SemesterId { get; set; }
  251. /// <summary>
  252. /// 机构ID
  253. /// </summary>
  254. public short SysOrgId { get; set; }
  255. /// <summary>
  256. /// 机构全称
  257. /// </summary>
  258. public string SysOrgFullName { get; set; }
  259. /// <summary>
  260. /// 机构名称
  261. /// </summary>
  262. public string SysOrgName { get; set; }
  263. /// <summary>
  264. /// 机构代码
  265. /// </summary>
  266. public string SYsOrgCode { get;set; }
  267. /// <summary>
  268. /// 上报时间
  269. /// </summary>
  270. [Required]
  271. public DateTime ReportTime { get; set; }
  272. /// <summary>
  273. /// 计划状态
  274. /// </summary>
  275. public ExamStatus ExamStatus { get; set; }
  276. /// <summary>
  277. /// 上报状态
  278. /// </summary>
  279. public DataReportStatus DataReportStatus { get; set; }
  280. /// <summary>
  281. /// 总数量
  282. /// </summary>
  283. [Required]
  284. public int TotalCount { get; set; } = 0;
  285. /// <summary>
  286. /// 待审核数量
  287. /// </summary>
  288. [Required]
  289. public int AuditCount { get; set; } = 0;
  290. /// <summary>
  291. /// 已通过数量
  292. /// </summary>
  293. [Required]
  294. public int ApprovedCount { get; set; } = 0;
  295. /// <summary>
  296. /// 已驳回数量
  297. /// </summary>
  298. [Required]
  299. public int RejectedCount { get; set; } = 0;
  300. /// <summary>
  301. /// 前期认定数量
  302. /// </summary>
  303. [Required]
  304. public int PreIdentifiedCount { get; set; } = 0;
  305. }