ExamOrgDataReportOutput.cs 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 监测机构上报类型输出参数
  5. /// </summary>
  6. public class ExamOrgDataReportOutput
  7. {
  8. /// <summary>
  9. /// 主键
  10. /// </summary>
  11. [Required]
  12. public int Id { get; set; }
  13. /// <summary>
  14. /// 监测机构ID
  15. /// </summary>
  16. [Required]
  17. public int ExamOrgId { get; set; }
  18. /// <summary>
  19. /// 监测计划ID
  20. /// </summary>
  21. [Required]
  22. public int ExamPlanId { get; set; }
  23. /// <summary>
  24. /// 监测机构ID
  25. /// </summary>
  26. [Required]
  27. public short SysOrgId { get; set; }
  28. /// <summary>
  29. /// 上报类型
  30. /// </summary>
  31. [Required]
  32. public DataReportType Type { get; set; }
  33. /// <summary>
  34. /// 状态
  35. /// </summary>
  36. [Required]
  37. public DataReportStatus Status { get; set; } = DataReportStatus.UNREPORT;
  38. /// <summary>
  39. /// 上报人用户ID
  40. /// </summary>
  41. public int? ReportSysUserId { get; set; }
  42. /// <summary>
  43. /// 开始时间
  44. /// </summary>
  45. public DateTime? ReportTime { get; set; }
  46. /// <summary>
  47. /// 备注
  48. /// </summary>
  49. public string Remark { get; set; }
  50. /// <summary>
  51. /// 佐证材料列表
  52. /// </summary>
  53. public List<AttachmentItem> AttachmentList { get; set; } = new();
  54. /// <summary>
  55. /// 监测机构
  56. /// </summary>
  57. public ExamOrgOutput ExamOrg { get; set; }
  58. /// <summary>
  59. /// 上报人
  60. /// </summary>
  61. public SysUserLiteOutput ReportSysUser { get; set; }
  62. }
  63. /// <summary>
  64. /// 监测计划及机构上报类型联合输出参数
  65. /// </summary>
  66. public class ExamOrgDataReportUnionOutput
  67. {
  68. /// <summary>
  69. /// 监测计划上报类型ID
  70. /// </summary>
  71. [Required]
  72. public int ExamDataReportId { get; set; }
  73. /// <summary>
  74. /// 监测计划的上报类型
  75. /// </summary>
  76. public ExamDataReportOutput ExamDataReport { get; set; }
  77. /// <summary>
  78. /// 监测机构上报类型ID
  79. /// </summary>
  80. public int? ExamOrgDataReportId { get; set; }
  81. /// <summary>
  82. /// 监测机构的上报类型
  83. /// </summary>
  84. public ExamOrgDataReportOutput ExamOrgDataReport { get; set; }
  85. /// <summary>
  86. /// 监测计划
  87. /// </summary>
  88. public ExamPlanOutput ExamPlan { get; set; }
  89. /// <summary>
  90. /// 机构ID
  91. /// </summary>
  92. [Required]
  93. public short SysOrgId { get; set; }
  94. /// <summary>
  95. /// 是否已过期
  96. /// </summary>
  97. [Required]
  98. public bool IsExpired { get; set; }
  99. }
  100. /// <summary>
  101. /// 机构监测计划上报输出参数
  102. /// </summary>
  103. public class ExamPlanOrgDataReportOutput
  104. {
  105. /// <summary>
  106. /// 行号
  107. /// </summary>
  108. [Required]
  109. public int RowNumber { get; set; }
  110. /// <summary>
  111. /// 监测计划ID
  112. /// </summary>
  113. [Required]
  114. public int ExamPlanId { get; set; }
  115. /// <summary>
  116. /// 监测计划ID
  117. /// </summary>
  118. [Required]
  119. public string ExamPlanFullName { get; set; }
  120. /// <summary>
  121. /// 监测计划ID
  122. /// </summary>
  123. [Required]
  124. public string ExamPlanName { get; set; }
  125. /// <summary>
  126. /// 监测计划ID
  127. /// </summary>
  128. [Required]
  129. public string ExamPlanShortName { get; set; }
  130. /// <summary>
  131. /// 监测计划ID
  132. /// </summary>
  133. [Required]
  134. public ExamStatus ExamPlanStatus { get; set; }
  135. /// <summary>
  136. /// 学段
  137. /// </summary>
  138. [Required]
  139. public EducationStage EducationStage { get; set; }
  140. /// <summary>
  141. /// 学期ID
  142. /// </summary>
  143. [Required]
  144. public short SemesterId { get; set; }
  145. /// <summary>
  146. /// 机构ID
  147. /// </summary>
  148. [Required]
  149. public short SysOrgId { get; set; }
  150. /// <summary>
  151. /// 开始时间
  152. /// </summary>
  153. [Required]
  154. public DateTime BeginTime { get; set; }
  155. /// <summary>
  156. /// 结束时间
  157. /// </summary>
  158. [Required]
  159. public DateTime EndTime { get; set; }
  160. /// <summary>
  161. /// 上报类型
  162. /// </summary>
  163. [Required]
  164. public DataReportType Type { get; set; }
  165. /// <summary>
  166. /// 监测状态
  167. /// </summary>
  168. [Required]
  169. public ExamStatus ExamStatus { get; set; }
  170. /// <summary>
  171. /// 状态
  172. /// </summary>
  173. [Required]
  174. public DataReportStatus Status { get; set; } = DataReportStatus.UNREPORT;
  175. /// <summary>
  176. /// 上报人用户ID
  177. /// </summary>
  178. public int? ReportSysUserId { get; set; }
  179. /// <summary>
  180. /// 上报人
  181. /// </summary>
  182. public string ReportSysUserName { get; set; }
  183. /// <summary>
  184. /// 开始时间
  185. /// </summary>
  186. public DateTime? ReportTime { get; set; }
  187. }
  188. /// <summary>
  189. /// 监测机构上报数据审核项
  190. /// </summary>
  191. public class ExamOrgDataReportAuditOutput
  192. {
  193. /// <summary>
  194. /// 机构ID
  195. /// </summary>
  196. public short Id { get; set; }
  197. /// <summary>
  198. /// 机构全称
  199. /// </summary>
  200. public string FullName { get; set; }
  201. /// <summary>
  202. /// 机构名称
  203. /// </summary>
  204. public string Name { get; set; }
  205. /// <summary>
  206. /// 机构代码
  207. /// </summary>
  208. public string Code { get; set; }
  209. /// <summary>
  210. /// 上报时间
  211. /// </summary>
  212. public DateTime ReportTime { get; set; }
  213. /// <summary>
  214. /// 数量
  215. /// </summary>
  216. public int Count { get; set; } = 0;
  217. }