ExamPlanOutput.cs 5.9 KB

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