|
package com.ishop.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:EB_USER_BALANCE_RECORD *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class EbUserBalanceRecord extends BasePo<EbUserBalanceRecord> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
// 主键
|
private Long id = null;
|
@JsonIgnore
|
protected boolean isset_id = false;
|
|
// 属性列表
|
private Long uid = null;
|
@JsonIgnore
|
protected boolean isset_uid = false;
|
|
private String linkId = null;
|
@JsonIgnore
|
protected boolean isset_linkId = false;
|
|
private String linkType = null;
|
@JsonIgnore
|
protected boolean isset_linkType = false;
|
|
private Integer type = null;
|
@JsonIgnore
|
protected boolean isset_type = false;
|
|
private Double amount = null;
|
@JsonIgnore
|
protected boolean isset_amount = false;
|
|
private Double balance = null;
|
@JsonIgnore
|
protected boolean isset_balance = false;
|
|
private String remark = null;
|
@JsonIgnore
|
protected boolean isset_remark = false;
|
|
private Long createTime = null;
|
@JsonIgnore
|
protected boolean isset_createTime = false;
|
|
private String sign = null;
|
@JsonIgnore
|
protected boolean isset_sign = false;
|
|
private Integer month = null;
|
@JsonIgnore
|
protected boolean isset_month = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public EbUserBalanceRecord() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public EbUserBalanceRecord(Long id) {
|
this.setId(id);
|
}
|
|
/**
|
* 设置主键值
|
*/
|
@Override
|
public void setPkValue(Object value) {
|
this.setId((Long) value);
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
this.isset_id = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyId() {
|
return this.id == null;
|
}
|
|
public Long getUid() {
|
return this.uid;
|
}
|
|
public void setUid(Long uid) {
|
this.uid = uid;
|
this.isset_uid = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyUid() {
|
return this.uid == null;
|
}
|
|
public String getLinkId() {
|
return this.linkId;
|
}
|
|
public void setLinkId(String linkId) {
|
this.linkId = linkId;
|
this.isset_linkId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyLinkId() {
|
return this.linkId == null || this.linkId.length() == 0;
|
}
|
|
public String getLinkType() {
|
return this.linkType;
|
}
|
|
public void setLinkType(String linkType) {
|
this.linkType = linkType;
|
this.isset_linkType = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyLinkType() {
|
return this.linkType == null || this.linkType.length() == 0;
|
}
|
|
public Integer getType() {
|
return this.type;
|
}
|
|
public void setType(Integer type) {
|
this.type = type;
|
this.isset_type = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyType() {
|
return this.type == null;
|
}
|
|
public Double getAmount() {
|
return this.amount;
|
}
|
|
public void setAmount(Double amount) {
|
this.amount = amount;
|
this.isset_amount = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyAmount() {
|
return this.amount == null;
|
}
|
|
public Double getBalance() {
|
return this.balance;
|
}
|
|
public void setBalance(Double balance) {
|
this.balance = balance;
|
this.isset_balance = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyBalance() {
|
return this.balance == null;
|
}
|
|
public String getRemark() {
|
return this.remark;
|
}
|
|
public void setRemark(String remark) {
|
this.remark = remark;
|
this.isset_remark = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyRemark() {
|
return this.remark == null || this.remark.length() == 0;
|
}
|
|
public Long getCreateTime() {
|
return this.createTime;
|
}
|
|
public void setCreateTime(Long createTime) {
|
this.createTime = createTime;
|
this.isset_createTime = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCreateTime() {
|
return this.createTime == null;
|
}
|
|
public String getSign() {
|
return this.sign;
|
}
|
|
public void setSign(String sign) {
|
this.sign = sign;
|
this.isset_sign = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySign() {
|
return this.sign == null || this.sign.length() == 0;
|
}
|
|
public Integer getMonth() {
|
return this.month;
|
}
|
|
public void setMonth(Integer month) {
|
this.month = month;
|
this.isset_month = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyMonth() {
|
return this.month == null;
|
}
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("id=").append(this.id)
|
.append("uid=").append(this.uid)
|
.append("linkId=").append(this.linkId)
|
.append("linkType=").append(this.linkType)
|
.append("type=").append(this.type)
|
.append("amount=").append(this.amount)
|
.append("balance=").append(this.balance)
|
.append("remark=").append(this.remark)
|
.append("createTime=").append(this.createTime)
|
.append("sign=").append(this.sign)
|
.append("month=").append(this.month)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public EbUserBalanceRecord $clone() {
|
EbUserBalanceRecord eb_user_balance_record = new EbUserBalanceRecord();
|
|
// 数据库名称
|
//eb_user_balance_record.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
eb_user_balance_record.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_uid) {
|
eb_user_balance_record.setUid(this.getUid());
|
}
|
if (this.isset_linkId) {
|
eb_user_balance_record.setLinkId(this.getLinkId());
|
}
|
if (this.isset_linkType) {
|
eb_user_balance_record.setLinkType(this.getLinkType());
|
}
|
if (this.isset_type) {
|
eb_user_balance_record.setType(this.getType());
|
}
|
if (this.isset_amount) {
|
eb_user_balance_record.setAmount(this.getAmount());
|
}
|
if (this.isset_balance) {
|
eb_user_balance_record.setBalance(this.getBalance());
|
}
|
if (this.isset_remark) {
|
eb_user_balance_record.setRemark(this.getRemark());
|
}
|
if (this.isset_createTime) {
|
eb_user_balance_record.setCreateTime(this.getCreateTime());
|
}
|
if (this.isset_sign) {
|
eb_user_balance_record.setSign(this.getSign());
|
}
|
if (this.isset_month) {
|
eb_user_balance_record.setMonth(this.getMonth());
|
}
|
return eb_user_balance_record;
|
}
|
}
|