487e56924c2583e0d20b2872350b12932dc53b89.svn-base 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. package com.sinosoft.cm.mdm.vo;
  2. import com.sinosoft.cm.common.JSONString;
  3. public class ImportantUser extends JSONString {
  4. private String FD_OBJECTID;//主键
  5. private String USER_CODE;//用户编码
  6. private String USER_NAME;//用户名称
  7. private String POWER_ADDRESS;//用电地址
  8. private String POWER_TYPE;//用电类别
  9. private String POWER_DEPARTMENT;//供电单位
  10. private String IMPORTANT_USER_LEVEL;//更重要客户等级
  11. private String VOLTAGE_LEVEL;//电压等级
  12. private String CONTRACT_CAPTACITY;//合同容量
  13. private String EXTRA_LOAD;//特级负载
  14. private String FIRST_LOAD;//一级负载
  15. private String SECOND_LOAD;//二级负载
  16. private String SECURITY_LOAD;//保安负荷
  17. private String EQUIPMENT_ALLOW_OUTAGE_TIME;//设备允许停电时间
  18. private String READY_POWER_MARK;//自备电源标志
  19. private String READY_POWER_CAPACITY;//自备电源容量
  20. private String UPDATE_DATE;//更新时间
  21. private String UPDATE_PERSON;//更新人
  22. private String IS_DEL;//是否被删除;state:1.0未被删除;2.1被删除;
  23. private String UPDATEDATE;//更新时间
  24. public ImportantUser() {}
  25. public String getFD_OBJECTID() {
  26. return FD_OBJECTID;
  27. }
  28. public void setFD_OBJECTID(String fD_OBJECTID) {
  29. FD_OBJECTID = fD_OBJECTID;
  30. }
  31. public String getUSER_CODE() {
  32. return USER_CODE;
  33. }
  34. public void setUSER_CODE(String uSER_CODE) {
  35. USER_CODE = uSER_CODE;
  36. }
  37. public String getUSER_NAME() {
  38. return USER_NAME;
  39. }
  40. public void setUSER_NAME(String uSER_NAME) {
  41. USER_NAME = uSER_NAME;
  42. }
  43. public String getPOWER_ADDRESS() {
  44. return POWER_ADDRESS;
  45. }
  46. public void setPOWER_ADDRESS(String pOWER_ADDRESS) {
  47. POWER_ADDRESS = pOWER_ADDRESS;
  48. }
  49. public String getPOWER_TYPE() {
  50. return POWER_TYPE;
  51. }
  52. public void setPOWER_TYPE(String pOWER_TYPE) {
  53. POWER_TYPE = pOWER_TYPE;
  54. }
  55. public String getPOWER_DEPARTMENT() {
  56. return POWER_DEPARTMENT;
  57. }
  58. public void setPOWER_DEPARTMENT(String pOWER_DEPARTMENT) {
  59. POWER_DEPARTMENT = pOWER_DEPARTMENT;
  60. }
  61. public String getIMPORTANT_USER_LEVEL() {
  62. return IMPORTANT_USER_LEVEL;
  63. }
  64. public void setIMPORTANT_USER_LEVEL(String iMPORTANT_USER_LEVEL) {
  65. IMPORTANT_USER_LEVEL = iMPORTANT_USER_LEVEL;
  66. }
  67. public String getVOLTAGE_LEVEL() {
  68. return VOLTAGE_LEVEL;
  69. }
  70. public void setVOLTAGE_LEVEL(String vOLTAGE_LEVEL) {
  71. VOLTAGE_LEVEL = vOLTAGE_LEVEL;
  72. }
  73. public String getCONTRACT_CAPTACITY() {
  74. return CONTRACT_CAPTACITY;
  75. }
  76. public void setCONTRACT_CAPTACITY(String cONTRACT_CAPTACITY) {
  77. CONTRACT_CAPTACITY = cONTRACT_CAPTACITY;
  78. }
  79. public String getEXTRA_LOAD() {
  80. return EXTRA_LOAD;
  81. }
  82. public void setEXTRA_LOAD(String eXTRA_LOAD) {
  83. EXTRA_LOAD = eXTRA_LOAD;
  84. }
  85. public String getFIRST_LOAD() {
  86. return FIRST_LOAD;
  87. }
  88. public void setFIRST_LOAD(String fIRST_LOAD) {
  89. FIRST_LOAD = fIRST_LOAD;
  90. }
  91. public String getSECOND_LOAD() {
  92. return SECOND_LOAD;
  93. }
  94. public void setSECOND_LOAD(String sECOND_LOAD) {
  95. SECOND_LOAD = sECOND_LOAD;
  96. }
  97. public String getSECURITY_LOAD() {
  98. return SECURITY_LOAD;
  99. }
  100. public void setSECURITY_LOAD(String sECURITY_LOAD) {
  101. SECURITY_LOAD = sECURITY_LOAD;
  102. }
  103. public String getEQUIPMENT_ALLOW_OUTAGE_TIME() {
  104. return EQUIPMENT_ALLOW_OUTAGE_TIME;
  105. }
  106. public void setEQUIPMENT_ALLOW_OUTAGE_TIME(String eQUIPMENT_ALLOW_OUTAGE_TIME) {
  107. EQUIPMENT_ALLOW_OUTAGE_TIME = eQUIPMENT_ALLOW_OUTAGE_TIME;
  108. }
  109. public String getREADY_POWER_MARK() {
  110. return READY_POWER_MARK;
  111. }
  112. public void setREADY_POWER_MARK(String rEADY_POWER_MARK) {
  113. READY_POWER_MARK = rEADY_POWER_MARK;
  114. }
  115. public String getREADY_POWER_CAPACITY() {
  116. return READY_POWER_CAPACITY;
  117. }
  118. public void setREADY_POWER_CAPACITY(String rEADY_POWER_CAPACITY) {
  119. READY_POWER_CAPACITY = rEADY_POWER_CAPACITY;
  120. }
  121. public String getUPDATE_DATE() {
  122. return UPDATE_DATE;
  123. }
  124. public void setUPDATE_DATE(String uPDATE_DATE) {
  125. UPDATE_DATE = uPDATE_DATE;
  126. }
  127. public String getUPDATE_PERSON() {
  128. return UPDATE_PERSON;
  129. }
  130. public void setUPDATE_PERSON(String uPDATE_PERSON) {
  131. UPDATE_PERSON = uPDATE_PERSON;
  132. }
  133. public String getIS_DEL() {
  134. return IS_DEL;
  135. }
  136. public void setIS_DEL(String iS_DEL) {
  137. IS_DEL = iS_DEL;
  138. }
  139. public String getUPDATEDATE() {
  140. return UPDATEDATE;
  141. }
  142. public void setUPDATEDATE(String uPDATEDATE) {
  143. UPDATEDATE = uPDATEDATE;
  144. }
  145. @Override
  146. public int hashCode() {
  147. final int prime = 31;
  148. int result = 1;
  149. result = prime * result
  150. + ((FD_OBJECTID == null) ? 0 : FD_OBJECTID.hashCode());
  151. result = prime * result
  152. + ((UPDATE_PERSON == null) ? 0 : UPDATE_PERSON.hashCode());
  153. result = prime * result
  154. + ((USER_CODE == null) ? 0 : USER_CODE.hashCode());
  155. result = prime * result
  156. + ((USER_NAME == null) ? 0 : USER_NAME.hashCode());
  157. result = prime * result
  158. + ((VOLTAGE_LEVEL == null) ? 0 : VOLTAGE_LEVEL.hashCode());
  159. return result;
  160. }
  161. @Override
  162. public boolean equals(Object obj) {
  163. if (this == obj)
  164. return true;
  165. if (obj == null)
  166. return false;
  167. if (getClass() != obj.getClass())
  168. return false;
  169. ImportantUser other = (ImportantUser) obj;
  170. if (FD_OBJECTID == null) {
  171. if (other.FD_OBJECTID != null)
  172. return false;
  173. } else if (!FD_OBJECTID.equals(other.FD_OBJECTID))
  174. return false;
  175. if (UPDATE_PERSON == null) {
  176. if (other.UPDATE_PERSON != null)
  177. return false;
  178. } else if (!UPDATE_PERSON.equals(other.UPDATE_PERSON))
  179. return false;
  180. if (USER_CODE == null) {
  181. if (other.USER_CODE != null)
  182. return false;
  183. } else if (!USER_CODE.equals(other.USER_CODE))
  184. return false;
  185. if (USER_NAME == null) {
  186. if (other.USER_NAME != null)
  187. return false;
  188. } else if (!USER_NAME.equals(other.USER_NAME))
  189. return false;
  190. if (VOLTAGE_LEVEL == null) {
  191. if (other.VOLTAGE_LEVEL != null)
  192. return false;
  193. } else if (!VOLTAGE_LEVEL.equals(other.VOLTAGE_LEVEL))
  194. return false;
  195. return true;
  196. }
  197. @Override
  198. public String toString() {
  199. return "ImportantUser [FD_OBJECTID=" + FD_OBJECTID + ", USER_CODE="
  200. + USER_CODE + ", USER_NAME=" + USER_NAME + ", POWER_ADDRESS="
  201. + POWER_ADDRESS + ", POWER_TYPE=" + POWER_TYPE
  202. + ", POWER_DEPARTMENT=" + POWER_DEPARTMENT
  203. + ", IMPORTANT_USER_LEVEL=" + IMPORTANT_USER_LEVEL
  204. + ", VOLTAGE_LEVEL=" + VOLTAGE_LEVEL + ", CONTRACT_CAPTACITY="
  205. + CONTRACT_CAPTACITY + ", EXTRA_LOAD=" + EXTRA_LOAD
  206. + ", FIRST_LOAD=" + FIRST_LOAD + ", SECOND_LOAD=" + SECOND_LOAD
  207. + ", SECURITY_LOAD=" + SECURITY_LOAD
  208. + ", EQUIPMENT_ALLOW_OUTAGE_TIME="
  209. + EQUIPMENT_ALLOW_OUTAGE_TIME + ", READY_POWER_MARK="
  210. + READY_POWER_MARK + ", READY_POWER_CAPACITY="
  211. + READY_POWER_CAPACITY + ", UPDATE_DATE=" + UPDATE_DATE
  212. + ", UPDATE_PERSON=" + UPDATE_PERSON + ", IS_DEL=" + IS_DEL
  213. + ", UPDATEDATE=" + UPDATEDATE + "]";
  214. };
  215. }