ExamDataPublishInput.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 添加监测数据发布内容输入参数
  5. /// </summary>
  6. public class AddExamDataPublishInput
  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, StringLength(100)]
  22. public string Name { get; set; }
  23. /// <summary>
  24. /// 备注
  25. /// </summary>
  26. [StringLength(2000)]
  27. public string Remark { get; set; }
  28. }
  29. /// <summary>
  30. /// 更新监测数据发布内容输入参数
  31. /// </summary>
  32. public class UpdateExamDataPublishInput: BaseId
  33. {
  34. /// <summary>
  35. /// 发布名称
  36. /// </summary>
  37. [Required, StringLength(100)]
  38. public string Name { get; set; }
  39. /// <summary>
  40. /// 备注
  41. /// </summary>
  42. [StringLength(2000)]
  43. public string Remark { get; set; }
  44. }