ExamOrgInput.cs 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 添加被监测机构输入参数
  5. /// </summary>
  6. public class AddExamOrgListInput
  7. {
  8. /// <summary>
  9. /// 监测计划ID
  10. /// </summary>
  11. [Required]
  12. public int ExamPlanId { get; set; }
  13. /// <summary>
  14. /// 监测机构ID列表
  15. /// </summary>
  16. [Required]
  17. public List<short> SysOrgIdList { get; set; }
  18. }
  19. /// <summary>
  20. /// 分页查询被监测机构输入参数
  21. /// </summary>
  22. public class ExamOrgPageInput : PageInputBase
  23. {
  24. /// <summary>
  25. /// 监测计划ID
  26. /// </summary>
  27. [Required]
  28. public int ExamPlanId { get; set; }
  29. /// <summary>
  30. /// 机构名称
  31. /// </summary>
  32. public string OrgName { get; set; }
  33. }
  34. /// <summary>
  35. /// 删除被监测机构输入参数
  36. /// </summary>
  37. public class DelExamOrgInput
  38. {
  39. /// <summary>
  40. /// ID列表
  41. /// </summary>
  42. [Required]
  43. public List<int> IdList { get; set; }
  44. }
  45. /// <summary>
  46. /// 分页查询未加入的被监测机构输入参数
  47. /// </summary>
  48. public class ExamOrgNotInPageInput : PageInputBase
  49. {
  50. /// <summary>
  51. /// 监测计划ID
  52. /// </summary>
  53. [Required]
  54. public int ExamPlanId { get; set; }
  55. /// <summary>
  56. /// 代码
  57. /// </summary>
  58. public string Code { get; set; }
  59. /// <summary>
  60. /// 城乡类型
  61. /// </summary>
  62. public UrbanRuralType? UrbanRuralType { get; set; }
  63. /// <summary>
  64. /// 状态
  65. /// </summary>
  66. public CommonStatus? Status { get; set; }
  67. /// <summary>
  68. /// 名称
  69. /// </summary>
  70. public string Name { get; set; }
  71. }
  72. /// <summary>
  73. /// 切换监测机构是否需要抽样监测
  74. /// </summary>
  75. public class SwitchExamOrgRequiredSampleInput
  76. {
  77. /// <summary>
  78. /// 监测机构ID
  79. /// </summary>
  80. [Required]
  81. public int Id { get; set; }
  82. /// <summary>
  83. /// 是否参与监测
  84. /// </summary>
  85. public bool IsRequiredExam { get; set; }
  86. }