ExamDataReportOutput.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 监测数据上报类型输出参数
  5. /// </summary>
  6. public class ExamDataReportOutput : DEntityOutput
  7. {
  8. /// <summary>
  9. /// 监测计划ID
  10. /// </summary>
  11. [Required]
  12. public int ExamPlanId { get; set; }
  13. /// <summary>
  14. /// 上报类型
  15. /// </summary>
  16. [Required]
  17. public DataReportType Type { get; set; }
  18. /// <summary>
  19. /// 状态
  20. /// </summary>
  21. [Required]
  22. public ExamStatus Status { get; set; }
  23. /// <summary>
  24. /// 开始时间
  25. /// </summary>
  26. [Required]
  27. public DateTime BeginTime { get; set; }
  28. /// <summary>
  29. /// 结束时间
  30. /// </summary>
  31. [Required]
  32. public DateTime EndTime { get; set; }
  33. /// <summary>
  34. /// 上报说明
  35. /// </summary>
  36. public string Remark { get; set; }
  37. /// <summary>
  38. /// 应上报机构数量
  39. /// </summary>
  40. public int Count { get; set; } = 0;
  41. /// <summary>
  42. /// 已上报机构数量
  43. /// </summary>
  44. public int ReportedCount { get; set; } = 0;
  45. /// <summary>
  46. /// 未上报机构数量
  47. /// </summary>
  48. public int UnreportCount { get { return Count - ReportedCount; } }
  49. /// <summary>
  50. /// 佐证材料列表
  51. /// </summary>
  52. public List<AttachmentItem> AttachmentList { get; set; } = new();
  53. }