ExamOrgOutput.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 监测机构输出参数
  5. /// </summary>
  6. public class ExamOrgOutput
  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 ExamPlanId { get; set; }
  18. /// <summary>
  19. /// 监测机构ID
  20. /// </summary>
  21. [Required]
  22. public short SysOrgId { get; set; }
  23. /// <summary>
  24. /// 监测方案下载次数
  25. /// </summary>
  26. [Required]
  27. public int ExamSampleDownloadCount { get; set; }
  28. /// <summary>
  29. /// 监测方案首次下载时间
  30. /// </summary>
  31. public DateTime? ExamSampleDownloadTime { get; set; }
  32. /// <summary>
  33. /// 下载人用户ID
  34. /// </summary>
  35. public int? ExamSampleDownloadSysUserId { get; set; }
  36. /// <summary>
  37. /// 机构
  38. /// </summary>
  39. public SysOrgLiteOutput SysOrg { get; set; }
  40. /// <summary>
  41. /// 上报状态
  42. /// </summary>
  43. public Dictionary<short, DataReportStatus> DataReports { get; set; } = new();
  44. /// <summary>
  45. /// 上报列表
  46. /// </summary>
  47. public List<ExamOrgDataReportOutput> DataReportList { get; set; } = new();
  48. }