Files
jsowell-charger-web/jsowell-pile/src/main/java/com/jsowell/pile/domain/PileLicenceInfo.java
2023-03-04 16:29:55 +08:00

115 lines
2.7 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package com.jsowell.pile.domain;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jsowell.common.annotation.Excel;
import com.jsowell.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;
/**
* 充电桩证书信息对象 pile_licence_info
*
* @author jsowell
* @date 2022-08-27
*/
public class PileLicenceInfo extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long id;
/** 证书名称 */
@Excel(name = "证书名称")
private String licenceName;
/** 运营商id */
@Excel(name = "运营商id")
private Long merchantId;
/** 状态0-待激活1-正常2-过期) */
@Excel(name = "状态", readConverterExp = "0=-待激活1-正常2-过期")
private String status;
/** 过期时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "过期时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date expireTime;
/** 删除标识0-正常1-删除) */
private String delFlag;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setLicenceName(String licenceName)
{
this.licenceName = licenceName;
}
public String getLicenceName()
{
return licenceName;
}
public void setMerchantId(Long merchantId)
{
this.merchantId = merchantId;
}
public Long getMerchantId()
{
return merchantId;
}
public void setStatus(String status)
{
this.status = status;
}
public String getStatus()
{
return status;
}
public void setExpireTime(Date expireTime)
{
this.expireTime = expireTime;
}
public Date getExpireTime()
{
return expireTime;
}
public void setDelFlag(String delFlag)
{
this.delFlag = delFlag;
}
public String getDelFlag()
{
return delFlag;
}
@Override
public String toString() {
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)
.append("id", getId())
.append("licenceName", getLicenceName())
.append("merchantId", getMerchantId())
.append("status", getStatus())
.append("expireTime", getExpireTime())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("delFlag", getDelFlag())
.toString();
}
}