ExamOrgDataReportInput.cs 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 分页查询机构上报类型输入参数
  5. /// </summary>
  6. public class ExamOrgDataReportPageInput : PageInputBase
  7. {
  8. /// <summary>
  9. /// 上报类型
  10. /// </summary>
  11. [Required]
  12. public DataReportType Type { get; set; }
  13. /// <summary>
  14. /// 状态
  15. /// </summary>
  16. public DataReportStatus? Status { get; set; }
  17. /// <summary>
  18. /// 监测名称
  19. /// </summary>
  20. public string Name { get; set; }
  21. /// <summary>
  22. /// 监测学期
  23. /// </summary>
  24. public short? SemesterId { get; set; }
  25. }
  26. /// <summary>
  27. /// 提交上报
  28. /// </summary>
  29. public class SubmitExamOrgDataReportInput
  30. {
  31. /// <summary>
  32. /// 监测计划ID
  33. /// </summary>
  34. [Required]
  35. public int ExamPlanId { get; set; }
  36. /// <summary>
  37. /// 上报类型
  38. /// </summary>
  39. [Required]
  40. public DataReportType Type { get; set; }
  41. }
  42. public class UploadExamOrgDataReportAttachmentInput : UploadResourceFileInput
  43. {
  44. /// <summary>
  45. /// 数据上报类型
  46. /// </summary>
  47. [Required]
  48. public DataReportType DataReportType { get; set; }
  49. /// <summary>
  50. /// 监测计划ID
  51. /// </summary>
  52. [Required]
  53. public int ExamPlanId { get; set; }
  54. }
  55. /// <summary>
  56. /// 添加数据上报佐证材料输入参数
  57. /// </summary>
  58. public class AddExamOrgDataReportAttachmentInput
  59. {
  60. /// <summary>
  61. /// 数据上报类型
  62. /// </summary>
  63. [Required]
  64. public DataReportType Type { get; set; }
  65. /// <summary>
  66. /// 监测计划ID
  67. /// </summary>
  68. [Required]
  69. public int ExamPlanId { get; set; }
  70. /// <summary>
  71. /// 主键
  72. /// </summary>
  73. [Required]
  74. public int ExamOrgDataReportId { get; set; }
  75. /// <summary>
  76. /// 文件ID
  77. /// </summary>
  78. [Required]
  79. public long FileId { get; set; }
  80. /// <summary>
  81. /// 文件名称
  82. /// </summary>
  83. [Required]
  84. public string FileName { get; set; }
  85. /// <summary>
  86. /// 文件扩展名
  87. /// </summary>
  88. [Required]
  89. public string FileExtName { get; set; }
  90. /// <summary>
  91. /// 文件大小
  92. /// </summary>
  93. public long FileSize { get; set; } = 0;
  94. /// <summary>
  95. /// 缩略图文件ID
  96. /// </summary>
  97. public long? ThumbFileId { get; set; } = 0;
  98. }
  99. /// <summary>
  100. /// 删除数据上报佐证材料输入参数
  101. /// </summary>
  102. public class DeleteExamOrgDataReportAttachmentInput
  103. {
  104. /// <summary>
  105. /// 主键
  106. /// </summary>
  107. [Required]
  108. public int Id { get; set; }
  109. /// <summary>
  110. /// 文件ID
  111. /// </summary>
  112. [Required]
  113. public long FileId { get; set; }
  114. }
  115. /// <summary>
  116. /// 监测机构上报数据审核查询输入参数
  117. /// </summary>
  118. public class ExamOrgDataReportAuditPageInput : PageInputBase
  119. {
  120. /// <summary>
  121. /// 监测计划ID
  122. /// </summary>
  123. public int? ExamPlanId { get; set; }
  124. /// <summary>
  125. /// 监测学期
  126. /// </summary>
  127. public short? SemesterId { get; set; }
  128. /// <summary>
  129. /// 计划名称
  130. /// </summary>
  131. public string ExamPlanName { get; set; }
  132. /// <summary>
  133. /// 机构名称
  134. /// </summary>
  135. public string SysOrgName { get; set; }
  136. }