ExamDataPublishOutput.cs 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 监测发布内容输出参数
  5. /// </summary>
  6. public class ExamDataPublishOutput : 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 DataPublishType Type { get; set; }
  18. /// <summary>
  19. /// 发布名称
  20. /// </summary>
  21. [Required]
  22. public string Name { get; set; }
  23. /// <summary>
  24. /// 备注
  25. /// </summary>
  26. public string Remark { get; set; }
  27. /// <summary>
  28. /// 发布状态
  29. /// </summary>
  30. [Required]
  31. public PublishStatus Status { get; set; }
  32. /// <summary>
  33. /// 发布时间
  34. /// </summary>
  35. public DateTime? PublishTime { get; set; }
  36. /// <summary>
  37. /// 发布人用户ID
  38. /// </summary>
  39. public int? PublishSysUserId { get; set; }
  40. /// <summary>
  41. /// 发布用户
  42. /// </summary>
  43. public SysUserLiteOutput PublishSysUser { get; set; }
  44. }
  45. /// <summary>
  46. /// 监测机构反馈结果文件输出参数
  47. /// </summary>
  48. public class ExamDataPublishOrgResultOutput
  49. {
  50. /// <summary>
  51. /// 主键
  52. /// </summary>
  53. [Required]
  54. public int Id { get; set; }
  55. /// <summary>
  56. /// 监测计划ID
  57. /// </summary>
  58. [Required]
  59. public int ExamPlanId { get; set; }
  60. /// <summary>
  61. /// 发布类型
  62. /// </summary>
  63. [Required]
  64. public DataPublishType Type { get; set; }
  65. /// <summary>
  66. /// 发布名称
  67. /// </summary>
  68. [Required]
  69. public string Name { get; set; }
  70. /// <summary>
  71. /// 备注
  72. /// </summary>
  73. public string Remark { get; set; }
  74. /// <summary>
  75. /// 发布状态
  76. /// </summary>
  77. [Required]
  78. public PublishStatus Status { get; set; }
  79. /// <summary>
  80. /// 发布时间
  81. /// </summary>
  82. public DateTime? PublishTime { get; set; }
  83. /// <summary>
  84. /// 监测机构反馈文件列表
  85. /// </summary>
  86. public List<ExamOrgResultOutput> ExamOrgResultList { get; set; } = new();
  87. }