|
package com.ishop.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:EB_USER_BROKERAGE_RECORD *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class EbUserBrokerageRecord extends BasePo<EbUserBrokerageRecord> {
|
// 序列化版本号
|
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 Integer subUid = null;
|
@JsonIgnore
|
protected boolean isset_subUid = false;
|
|
private String linkNo = null;
|
@JsonIgnore
|
protected boolean isset_linkNo = false;
|
|
private String linkType = null;
|
@JsonIgnore
|
protected boolean isset_linkType = false;
|
|
private Integer type = null;
|
@JsonIgnore
|
protected boolean isset_type = false;
|
|
private String title = null;
|
@JsonIgnore
|
protected boolean isset_title = false;
|
|
private Double price = null;
|
@JsonIgnore
|
protected boolean isset_price = false;
|
|
private Double balance = null;
|
@JsonIgnore
|
protected boolean isset_balance = false;
|
|
private String mark = null;
|
@JsonIgnore
|
protected boolean isset_mark = false;
|
|
private Integer status = null;
|
@JsonIgnore
|
protected boolean isset_status = false;
|
|
private Integer frozenTime = null;
|
@JsonIgnore
|
protected boolean isset_frozenTime = false;
|
|
private Long thawTime = null;
|
@JsonIgnore
|
protected boolean isset_thawTime = false;
|
|
private Integer brokerageLevel = null;
|
@JsonIgnore
|
protected boolean isset_brokerageLevel = false;
|
|
private Long createTime = null;
|
@JsonIgnore
|
protected boolean isset_createTime = false;
|
|
private Long updateTime = null;
|
@JsonIgnore
|
protected boolean isset_updateTime = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public EbUserBrokerageRecord() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public EbUserBrokerageRecord(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 Integer getSubUid() {
|
return this.subUid;
|
}
|
|
public void setSubUid(Integer subUid) {
|
this.subUid = subUid;
|
this.isset_subUid = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySubUid() {
|
return this.subUid == null;
|
}
|
|
public String getLinkNo() {
|
return this.linkNo;
|
}
|
|
public void setLinkNo(String linkNo) {
|
this.linkNo = linkNo;
|
this.isset_linkNo = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyLinkNo() {
|
return this.linkNo == null || this.linkNo.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 String getTitle() {
|
return this.title;
|
}
|
|
public void setTitle(String title) {
|
this.title = title;
|
this.isset_title = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyTitle() {
|
return this.title == null || this.title.length() == 0;
|
}
|
|
public Double getPrice() {
|
return this.price;
|
}
|
|
public void setPrice(Double price) {
|
this.price = price;
|
this.isset_price = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyPrice() {
|
return this.price == 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 getMark() {
|
return this.mark;
|
}
|
|
public void setMark(String mark) {
|
this.mark = mark;
|
this.isset_mark = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyMark() {
|
return this.mark == null || this.mark.length() == 0;
|
}
|
|
public Integer getStatus() {
|
return this.status;
|
}
|
|
public void setStatus(Integer status) {
|
this.status = status;
|
this.isset_status = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyStatus() {
|
return this.status == null;
|
}
|
|
public Integer getFrozenTime() {
|
return this.frozenTime;
|
}
|
|
public void setFrozenTime(Integer frozenTime) {
|
this.frozenTime = frozenTime;
|
this.isset_frozenTime = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyFrozenTime() {
|
return this.frozenTime == null;
|
}
|
|
public Long getThawTime() {
|
return this.thawTime;
|
}
|
|
public void setThawTime(Long thawTime) {
|
this.thawTime = thawTime;
|
this.isset_thawTime = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyThawTime() {
|
return this.thawTime == null;
|
}
|
|
public Integer getBrokerageLevel() {
|
return this.brokerageLevel;
|
}
|
|
public void setBrokerageLevel(Integer brokerageLevel) {
|
this.brokerageLevel = brokerageLevel;
|
this.isset_brokerageLevel = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyBrokerageLevel() {
|
return this.brokerageLevel == null;
|
}
|
|
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 Long getUpdateTime() {
|
return this.updateTime;
|
}
|
|
public void setUpdateTime(Long updateTime) {
|
this.updateTime = updateTime;
|
this.isset_updateTime = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyUpdateTime() {
|
return this.updateTime == null;
|
}
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("id=").append(this.id)
|
.append("uid=").append(this.uid)
|
.append("subUid=").append(this.subUid)
|
.append("linkNo=").append(this.linkNo)
|
.append("linkType=").append(this.linkType)
|
.append("type=").append(this.type)
|
.append("title=").append(this.title)
|
.append("price=").append(this.price)
|
.append("balance=").append(this.balance)
|
.append("mark=").append(this.mark)
|
.append("status=").append(this.status)
|
.append("frozenTime=").append(this.frozenTime)
|
.append("thawTime=").append(this.thawTime)
|
.append("brokerageLevel=").append(this.brokerageLevel)
|
.append("createTime=").append(this.createTime)
|
.append("updateTime=").append(this.updateTime)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public EbUserBrokerageRecord $clone() {
|
EbUserBrokerageRecord eb_user_brokerage_record = new EbUserBrokerageRecord();
|
|
// 数据库名称
|
//eb_user_brokerage_record.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
eb_user_brokerage_record.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_uid) {
|
eb_user_brokerage_record.setUid(this.getUid());
|
}
|
if (this.isset_subUid) {
|
eb_user_brokerage_record.setSubUid(this.getSubUid());
|
}
|
if (this.isset_linkNo) {
|
eb_user_brokerage_record.setLinkNo(this.getLinkNo());
|
}
|
if (this.isset_linkType) {
|
eb_user_brokerage_record.setLinkType(this.getLinkType());
|
}
|
if (this.isset_type) {
|
eb_user_brokerage_record.setType(this.getType());
|
}
|
if (this.isset_title) {
|
eb_user_brokerage_record.setTitle(this.getTitle());
|
}
|
if (this.isset_price) {
|
eb_user_brokerage_record.setPrice(this.getPrice());
|
}
|
if (this.isset_balance) {
|
eb_user_brokerage_record.setBalance(this.getBalance());
|
}
|
if (this.isset_mark) {
|
eb_user_brokerage_record.setMark(this.getMark());
|
}
|
if (this.isset_status) {
|
eb_user_brokerage_record.setStatus(this.getStatus());
|
}
|
if (this.isset_frozenTime) {
|
eb_user_brokerage_record.setFrozenTime(this.getFrozenTime());
|
}
|
if (this.isset_thawTime) {
|
eb_user_brokerage_record.setThawTime(this.getThawTime());
|
}
|
if (this.isset_brokerageLevel) {
|
eb_user_brokerage_record.setBrokerageLevel(this.getBrokerageLevel());
|
}
|
if (this.isset_createTime) {
|
eb_user_brokerage_record.setCreateTime(this.getCreateTime());
|
}
|
if (this.isset_updateTime) {
|
eb_user_brokerage_record.setUpdateTime(this.getUpdateTime());
|
}
|
return eb_user_brokerage_record;
|
}
|
}
|