VppCustomer.java 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. package com.usky.vpp.domain;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableId;
  5. import com.baomidou.mybatisplus.annotation.TableName;
  6. import com.fasterxml.jackson.annotation.JsonFormat;
  7. import lombok.Data;
  8. import lombok.EqualsAndHashCode;
  9. import javax.validation.constraints.NotNull;
  10. import java.io.Serializable;
  11. import java.math.BigDecimal;
  12. import java.time.LocalDateTime;
  13. import java.time.LocalTime;
  14. /**
  15. * vpp_customer
  16. */
  17. @Data
  18. @EqualsAndHashCode(callSuper = false)
  19. @TableName("vpp_customer")
  20. public class VppCustomer implements Serializable {
  21. private static final long serialVersionUID = 1L;
  22. @TableId(value = "id", type = IdType.AUTO)
  23. private Long id;
  24. @TableField("account_no")
  25. private String accountNo;
  26. @TableField("customer_name")
  27. private String customerName;
  28. /**
  29. * 客户管理1.虚拟电厂2.售电客户
  30. */
  31. @TableField("customer_type")
  32. private Integer customerType;
  33. @TableField("power_company")
  34. private String powerCompany;
  35. @TableField("contract_capacity")
  36. private BigDecimal contractCapacity;
  37. /**
  38. * 信用状态
  39. * 1正常 2关注 3不良
  40. */
  41. @TableField("credit_status")
  42. private Integer creditStatus;
  43. /**
  44. * 签约状态
  45. * 1待签约 2已签约 3履约中 4待续约 5已续约 6已解约
  46. */
  47. @TableField("lifecycle_status")
  48. private Integer lifecycleStatus;
  49. /**
  50. * 需求响应提前通知分钟数,默认30
  51. */
  52. @TableField("dr_notify_minutes")
  53. private Integer drNotifyMinutes;
  54. /**
  55. * 登记上调能力 kW
  56. */
  57. @TableField("dr_up_capacity_kw")
  58. private BigDecimal drUpCapacityKw;
  59. /**
  60. * 需求响应下调能力 kW
  61. */
  62. @TableField("dr_down_capacity_kw")
  63. private BigDecimal drDownCapacityKw;
  64. /**
  65. * 省
  66. */
  67. private String province;
  68. /**
  69. * 是否集团内用户 0否 1是
  70. */
  71. @TableField("is_group_user")
  72. private Integer isGroupUser;
  73. /**
  74. * 是否绿电 0否 1是
  75. */
  76. @TableField("is_green_power")
  77. private Integer isGreenPower;
  78. /**
  79. * 是否合作开发用户 0否 1是
  80. */
  81. @TableField("is_coop_dev_user")
  82. private Integer isCoopDevUser;
  83. /**
  84. * 合作开发单位名称
  85. */
  86. @TableField("coop_partner_name")
  87. private String coopPartnerName;
  88. /**
  89. * 市
  90. */
  91. private String city;
  92. /**
  93. * 区/县
  94. */
  95. private String district;
  96. private String address;
  97. @TableField("business_license_url")
  98. private String businessLicenseUrl;
  99. private String remark;
  100. @TableField("tenant_id")
  101. private Integer tenantId;
  102. @TableField("create_time")
  103. private LocalDateTime createTime;
  104. @TableField("update_time")
  105. private LocalDateTime updateTime;
  106. @TableField("created_by")
  107. private String createdBy;
  108. @TableField("updated_by")
  109. private String updatedBy;
  110. @TableField("delete_flag")
  111. private Integer deleteFlag;
  112. @TableField("deleted_at")
  113. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  114. private LocalDateTime deletedAt;
  115. /**
  116. * 是否虚拟电厂资源(0:否,1:是)
  117. */
  118. @NotNull(message = "是否虚拟电厂资源不能为空!")
  119. @TableField("is_vpp_resource")
  120. private Integer isVppResource;
  121. /**
  122. * 虚拟电厂分类(1:充换电,2:分布式三联供,3:楼宇空调,5:用户侧储能,6:数据中心,7:工业负荷,8:其他)
  123. */
  124. @TableField("vpp_category")
  125. private String vppCategory;
  126. /**
  127. * 需求响应资源分类(1:工业负荷,2:商业负荷,3:储能,4:电动汽车,5:居民负荷,6:其他)
  128. */
  129. @TableField("dr_resource_type")
  130. private String drResourceType;
  131. /**
  132. * 聚合代理用户虚拟电厂编码
  133. */
  134. @TableField("vpp_proxy_code")
  135. private String vppProxyCode;
  136. /**
  137. * 所属行业(1:制造业,2:建筑业,3:批发和零售业,4:交通运输、仓储和邮政业,5:住宿和餐饮业,6:信息传输、软件和信息技术服务业,7:金融业,8:房地产业,9:租赁和商务服务业,10:科学研究和技术服务业,
  138. * 11:水利、环境和公共设施管理业,12:居民服务、修理和其他服务业,13:教育,14:卫生和社会工作,15:文化、体育和娱乐业,16:公共管理、社会保障和社会组织,17:国际组织,18:农、林、牧、渔业,
  139. * 19:采矿业,20:电力、热力、燃气及水生产和供应业,21:其他)
  140. */
  141. @TableField("industry")
  142. private String industry;
  143. /**
  144. * 所属产业(1:第一产业,2:第二产业,3:第三产业)
  145. */
  146. @TableField("industry_sector")
  147. private String industrySector;
  148. /**
  149. * 运行容量(kW)
  150. */
  151. private BigDecimal runningCapacity;
  152. /**
  153. * 生产经营开始时间
  154. */
  155. @JsonFormat(pattern = "HH:mm")
  156. private LocalTime productionStartDate;
  157. /**
  158. * 生产经营结束时间
  159. */
  160. @JsonFormat(pattern = "HH:mm")
  161. private LocalTime productionEndDate;
  162. /**
  163. * 用电地址
  164. */
  165. @TableField("power_address")
  166. private String powerAddress;
  167. /**
  168. * 签约时间
  169. */
  170. @TableField("signing_date")
  171. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  172. private LocalDateTime signingDate;
  173. }