OrganizationRequest.cs 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. using System;
  2. using System.Collections.Generic;
  3. namespace GxPress.Result.Organization
  4. {
  5. public class OrganizationRequest
  6. {
  7. }
  8. /// <summary>
  9. /// 机构搜索
  10. /// </summary>
  11. public class OrganizationListRequest : Common.Page.PageParameter
  12. {
  13. /// <summary>
  14. /// 搜索字段
  15. /// </summary>
  16. /// <value></value>
  17. public string KeyWord { get; set; }
  18. }
  19. /// <summary>
  20. /// 机构修改
  21. /// </summary>
  22. public class OrganizationUpdateRequest
  23. {
  24. /// <summary>
  25. ///
  26. /// </summary>
  27. /// <value></value>
  28. public int Id { get; set; }
  29. /// <summary>
  30. /// 名称
  31. /// </summary>
  32. /// <value></value>
  33. public string Name { get; set; }
  34. /// <summary>
  35. /// 地址
  36. /// </summary>
  37. /// <value></value>
  38. public string Address { get; set; }
  39. /// <summary>
  40. /// 联系人
  41. /// </summary>
  42. /// <value></value>
  43. public string LinkName { get; set; }
  44. /// <summary>
  45. /// 联系电话
  46. /// </summary>
  47. /// <value></value>
  48. public string LinkPhone { get; set; }
  49. /// <summary>
  50. /// 开通状态 1 立即 2定时开通
  51. /// </summary>
  52. /// <value></value>
  53. public int OpenStatus { get; set; }
  54. /// <summary>
  55. /// 启用时间
  56. /// </summary>
  57. /// <value></value>
  58. public string OpenTime { get; set; }
  59. /// <summary>
  60. /// 开始时间
  61. /// </summary>
  62. /// <value></value>
  63. public string BeginTime { get; set; }
  64. /// <summary>
  65. /// 结束时间
  66. /// </summary>
  67. /// <value></value>
  68. public string EndTime { get; set; }
  69. /// <summary>
  70. /// 是否禁用 1禁用 2未禁用
  71. /// </summary>
  72. /// <value></value>
  73. public int IsDisable { get; set; }
  74. /// <summary>
  75. /// 1关闭 2开启
  76. /// </summary>
  77. /// <value></value>
  78. public int IsClose { get; set; }
  79. /// <summary>
  80. /// 设备数量
  81. /// </summary>
  82. /// <value></value>
  83. public int FacilityCount{get;set;}
  84. }
  85. /// <summary>
  86. /// 修改启用停用
  87. /// </summary>
  88. public class OrganizationUpdateDisableRequest
  89. {
  90. /// <summary>
  91. /// id
  92. /// </summary>
  93. /// <value></value>
  94. public List<int> Ids { get; set; }
  95. /// <summary>
  96. /// 启用
  97. /// </summary>
  98. /// <value></value>
  99. public bool IsDisable { get; set; }
  100. }
  101. }