|
@@ -0,0 +1,152 @@
|
|
|
+package com.hcloud.microserver.system.facade.carbon.entity;
|
|
|
+
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
+import com.hcloud.microserver.commoncore.annotation.Excel;
|
|
|
+import com.hcloud.microserver.commoncore.web.domain.BaseEntity;
|
|
|
+import io.swagger.annotations.ApiModel;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
+import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
+import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
+
|
|
|
+import java.util.Date;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 碳汇认购申请对象 t_subscription_apply
|
|
|
+ *
|
|
|
+ * @author liql
|
|
|
+ * @date 2020-11-25
|
|
|
+ */
|
|
|
+@ApiModel(value = "碳汇认购申请实体")
|
|
|
+public class SubscriptionApply extends BaseEntity
|
|
|
+{
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ /** 序列 */
|
|
|
+ private String guid;
|
|
|
+
|
|
|
+ /** 申请客户id */
|
|
|
+ @Excel(name = "申请客户id")
|
|
|
+ @ApiModelProperty(value = "申请客户id")
|
|
|
+ private Long applyCustomerId;
|
|
|
+
|
|
|
+ /** 申请客户名称 */
|
|
|
+ @Excel(name = "申请客户名称")
|
|
|
+ @ApiModelProperty(value = "申请客户名称")
|
|
|
+ private String applyCustomName;
|
|
|
+
|
|
|
+ /** 认购数量 */
|
|
|
+ @Excel(name = "认购数量")
|
|
|
+ @ApiModelProperty(value = "认购数量")
|
|
|
+ private Long amount;
|
|
|
+
|
|
|
+ /** 申请状态(0认购中,1认购成功) */
|
|
|
+ @Excel(name = "申请状态", readConverterExp = "0=认购中,1认购成功")
|
|
|
+ @ApiModelProperty(value = "申请状态(0=认购中,1认购成功)")
|
|
|
+ private Integer applyStatus;
|
|
|
+
|
|
|
+ /** 记录状态(0无效,1有效) */
|
|
|
+ @Excel(name = "记录状态(0无效,1有效)")
|
|
|
+ @ApiModelProperty(value = "记录状态(0无效,1有效)")
|
|
|
+ private Integer recordStatus;
|
|
|
+
|
|
|
+ /** 申请时间 */
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
+ @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
|
|
|
+ @ApiModelProperty(value = "申请时间")
|
|
|
+ private Date applyDate;
|
|
|
+
|
|
|
+ /** 修改时间 */
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
+ @Excel(name = "修改时间 ", width = 30, dateFormat = "yyyy-MM-dd")
|
|
|
+ @ApiModelProperty(value = "修改时间 ")
|
|
|
+ private Date modifiedTime;
|
|
|
+
|
|
|
+ public void setGuid(String guid)
|
|
|
+ {
|
|
|
+ this.guid = guid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getGuid()
|
|
|
+ {
|
|
|
+ return guid;
|
|
|
+ }
|
|
|
+ public void setApplyCustomerId(Long applyCustomerId)
|
|
|
+ {
|
|
|
+ this.applyCustomerId = applyCustomerId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getApplyCustomerId()
|
|
|
+ {
|
|
|
+ return applyCustomerId;
|
|
|
+ }
|
|
|
+ public void setApplyCustomName(String applyCustomName)
|
|
|
+ {
|
|
|
+ this.applyCustomName = applyCustomName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getApplyCustomName()
|
|
|
+ {
|
|
|
+ return applyCustomName;
|
|
|
+ }
|
|
|
+ public void setAmount(Long amount)
|
|
|
+ {
|
|
|
+ this.amount = amount;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getAmount()
|
|
|
+ {
|
|
|
+ return amount;
|
|
|
+ }
|
|
|
+ public void setApplyStatus(Integer applyStatus)
|
|
|
+ {
|
|
|
+ this.applyStatus = applyStatus;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getApplyStatus()
|
|
|
+ {
|
|
|
+ return applyStatus;
|
|
|
+ }
|
|
|
+ public void setRecordStatus(Integer recordStatus)
|
|
|
+ {
|
|
|
+ this.recordStatus = recordStatus;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getRecordStatus()
|
|
|
+ {
|
|
|
+ return recordStatus;
|
|
|
+ }
|
|
|
+ public void setApplyDate(Date applyDate)
|
|
|
+ {
|
|
|
+ this.applyDate = applyDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getApplyDate()
|
|
|
+ {
|
|
|
+ return applyDate;
|
|
|
+ }
|
|
|
+ public void setModifiedTime(Date modifiedTime)
|
|
|
+ {
|
|
|
+ this.modifiedTime = modifiedTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getModifiedTime()
|
|
|
+ {
|
|
|
+ return modifiedTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public String toString() {
|
|
|
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
|
+ .append("guid", getGuid())
|
|
|
+ .append("applyCustomerId", getApplyCustomerId())
|
|
|
+ .append("applyCustomName", getApplyCustomName())
|
|
|
+ .append("amount", getAmount())
|
|
|
+ .append("remark", getRemark())
|
|
|
+ .append("applyStatus", getApplyStatus())
|
|
|
+ .append("recordStatus", getRecordStatus())
|
|
|
+ .append("applyDate", getApplyDate())
|
|
|
+ .append("createTime", getCreateTime())
|
|
|
+ .append("modifiedTime", getModifiedTime())
|
|
|
+ .toString();
|
|
|
+ }
|
|
|
+}
|