PdmMaintenanceProcess.java 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. package com.ruoyi.powerdistribution.domain;
  2. import org.apache.commons.lang3.builder.ToStringBuilder;
  3. import org.apache.commons.lang3.builder.ToStringStyle;
  4. import com.ruoyi.common.annotation.Excel;
  5. import com.ruoyi.common.core.domain.BaseEntity;
  6. /**
  7. * 检修计划全流程管理对象 pdm_maintenance_process
  8. *
  9. * @author ruoyi
  10. * @date 2024-12-05
  11. */
  12. public class PdmMaintenanceProcess extends BaseEntity
  13. {
  14. private static final long serialVersionUID = 1L;
  15. /** $column.columnComment */
  16. private Long id;
  17. /** 月计划编号 */
  18. @Excel(name = "月计划编号")
  19. private String planCode;
  20. /** 月计划停电设备数 */
  21. @Excel(name = "月计划停电设备数")
  22. private Long powerOutageDevices;
  23. /** 月计划时户数 */
  24. @Excel(name = "月计划时户数")
  25. private Long perHourHouseholdsM;
  26. /** 周计划时户数 */
  27. @Excel(name = "周计划时户数")
  28. private Long perHourHouseholdsW;
  29. /** 所属市公司 */
  30. @Excel(name = "所属市公司")
  31. private String city;
  32. /** 所属县公司 */
  33. @Excel(name = "所属县公司")
  34. private String county;
  35. /** 所属供电所 */
  36. @Excel(name = "所属供电所")
  37. private String station;
  38. /** 线路编号 */
  39. @Excel(name = "线路编号")
  40. private String lineCode;
  41. /** 线路名称 */
  42. @Excel(name = "线路名称")
  43. private String lineName;
  44. /** 人工计划时户数 */
  45. @Excel(name = "人工计划时户数")
  46. private Long perHourHouseholdsArtif;
  47. /** 申报单位 */
  48. @Excel(name = "申报单位")
  49. private String declarAgency;
  50. /** 是否需要上传检修方案0-不需要,1-需要,2-已上传 */
  51. @Excel(name = "是否需要上传检修方案0-不需要,1-需要,2-已上传")
  52. private String isMaintenance;
  53. /** 是否需要审批0-不需要,1-需要,2-已上传 */
  54. @Excel(name = "是否需要审批0-不需要,1-需要,2-已上传")
  55. private String isApprove;
  56. /** 检修方案地址 */
  57. @Excel(name = "检修方案地址")
  58. private String maintenanceFilePath;
  59. /** 审批方案地址 */
  60. @Excel(name = "审批方案地址")
  61. private String approveFilePath;
  62. public void setId(Long id)
  63. {
  64. this.id = id;
  65. }
  66. public Long getId()
  67. {
  68. return id;
  69. }
  70. public void setPlanCode(String planCode)
  71. {
  72. this.planCode = planCode;
  73. }
  74. public String getPlanCode()
  75. {
  76. return planCode;
  77. }
  78. public void setPowerOutageDevices(Long powerOutageDevices)
  79. {
  80. this.powerOutageDevices = powerOutageDevices;
  81. }
  82. public Long getPowerOutageDevices()
  83. {
  84. return powerOutageDevices;
  85. }
  86. public void setPerHourHouseholdsM(Long perHourHouseholdsM)
  87. {
  88. this.perHourHouseholdsM = perHourHouseholdsM;
  89. }
  90. public Long getPerHourHouseholdsM()
  91. {
  92. return perHourHouseholdsM;
  93. }
  94. public void setPerHourHouseholdsW(Long perHourHouseholdsW)
  95. {
  96. this.perHourHouseholdsW = perHourHouseholdsW;
  97. }
  98. public Long getPerHourHouseholdsW()
  99. {
  100. return perHourHouseholdsW;
  101. }
  102. public void setCity(String city)
  103. {
  104. this.city = city;
  105. }
  106. public String getCity()
  107. {
  108. return city;
  109. }
  110. public void setCounty(String county)
  111. {
  112. this.county = county;
  113. }
  114. public String getCounty()
  115. {
  116. return county;
  117. }
  118. public void setStation(String station)
  119. {
  120. this.station = station;
  121. }
  122. public String getStation()
  123. {
  124. return station;
  125. }
  126. public void setLineCode(String lineCode)
  127. {
  128. this.lineCode = lineCode;
  129. }
  130. public String getLineCode()
  131. {
  132. return lineCode;
  133. }
  134. public void setLineName(String lineName)
  135. {
  136. this.lineName = lineName;
  137. }
  138. public String getLineName()
  139. {
  140. return lineName;
  141. }
  142. public void setPerHourHouseholdsArtif(Long perHourHouseholdsArtif)
  143. {
  144. this.perHourHouseholdsArtif = perHourHouseholdsArtif;
  145. }
  146. public Long getPerHourHouseholdsArtif()
  147. {
  148. return perHourHouseholdsArtif;
  149. }
  150. public void setDeclarAgency(String declarAgency)
  151. {
  152. this.declarAgency =
  153. declarAgency;
  154. }
  155. public String getDeclarAgency()
  156. {
  157. return declarAgency;
  158. }
  159. public void setIsMaintenance(String isMaintenance)
  160. {
  161. this.isMaintenance = isMaintenance;
  162. }
  163. public String getIsMaintenance()
  164. {
  165. return isMaintenance;
  166. }
  167. public void setIsApprove(String isApprove)
  168. {
  169. this.isApprove = isApprove;
  170. }
  171. public String getIsApprove()
  172. {
  173. return isApprove;
  174. }
  175. public void setMaintenanceFilePath(String maintenanceFilePath)
  176. {
  177. this.maintenanceFilePath = maintenanceFilePath;
  178. }
  179. public String getMaintenanceFilePath()
  180. {
  181. return maintenanceFilePath;
  182. }
  183. public void setApproveFilePath(String approveFilePath)
  184. {
  185. this.approveFilePath = approveFilePath;
  186. }
  187. public String getApproveFilePath()
  188. {
  189. return approveFilePath;
  190. }
  191. @Override
  192. public String toString() {
  193. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  194. .append("id", getId())
  195. .append("planCode", getPlanCode())
  196. .append("powerOutageDevices", getPowerOutageDevices())
  197. .append("perHourHouseholdsM", getPerHourHouseholdsM())
  198. .append("perHourHouseholdsW", getPerHourHouseholdsW())
  199. .append("city", getCity())
  200. .append("county", getCounty())
  201. .append("station", getStation())
  202. .append("lineCode", getLineCode())
  203. .append("lineName", getLineName())
  204. .append("perHourHouseholdsArtif", getPerHourHouseholdsArtif())
  205. .append(" declarAgency", getDeclarAgency())
  206. .append("isMaintenance", getIsMaintenance())
  207. .append("isApprove", getIsApprove())
  208. .append("maintenanceFilePath", getMaintenanceFilePath())
  209. .append("approveFilePath", getApproveFilePath())
  210. .append("createBy", getCreateBy())
  211. .append("createTime", getCreateTime())
  212. .append("updateBy", getUpdateBy())
  213. .append("updateTime", getUpdateTime())
  214. .toString();
  215. }
  216. }