|
package com.consum.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:L_WH_GOODS_RECORD_DETAILS *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class LWhGoodsRecordDetails extends BasePo<LWhGoodsRecordDetails> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
// 主键
|
private Long id = null;
|
@JsonIgnore
|
protected boolean isset_id = false;
|
|
// 属性列表
|
private Long whGoodsRecordId = null;
|
@JsonIgnore
|
protected boolean isset_whGoodsRecordId = false;
|
|
private Long whGoodsId = null;
|
@JsonIgnore
|
protected boolean isset_whGoodsId = false;
|
|
private Integer thisType = null;
|
@JsonIgnore
|
protected boolean isset_thisType = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public LWhGoodsRecordDetails() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public LWhGoodsRecordDetails(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 getWhGoodsRecordId() {
|
return this.whGoodsRecordId;
|
}
|
|
public void setWhGoodsRecordId(Long whGoodsRecordId) {
|
this.whGoodsRecordId = whGoodsRecordId;
|
this.isset_whGoodsRecordId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyWhGoodsRecordId() {
|
return this.whGoodsRecordId == null;
|
}
|
|
public Long getWhGoodsId() {
|
return this.whGoodsId;
|
}
|
|
public void setWhGoodsId(Long whGoodsId) {
|
this.whGoodsId = whGoodsId;
|
this.isset_whGoodsId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyWhGoodsId() {
|
return this.whGoodsId == null;
|
}
|
|
public Integer getThisType() {
|
return this.thisType;
|
}
|
|
public void setThisType(Integer thisType) {
|
this.thisType = thisType;
|
this.isset_thisType = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyThisType() {
|
return this.thisType == null;
|
}
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("id=").append(this.id)
|
.append("whGoodsRecordId=").append(this.whGoodsRecordId)
|
.append("whGoodsId=").append(this.whGoodsId)
|
.append("thisType=").append(this.thisType)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public LWhGoodsRecordDetails $clone() {
|
LWhGoodsRecordDetails l_wh_goods_record_details = new LWhGoodsRecordDetails();
|
|
// 数据库名称
|
//l_wh_goods_record_details.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
l_wh_goods_record_details.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_whGoodsRecordId) {
|
l_wh_goods_record_details.setWhGoodsRecordId(this.getWhGoodsRecordId());
|
}
|
if (this.isset_whGoodsId) {
|
l_wh_goods_record_details.setWhGoodsId(this.getWhGoodsId());
|
}
|
if (this.isset_thisType) {
|
l_wh_goods_record_details.setThisType(this.getThisType());
|
}
|
return l_wh_goods_record_details;
|
}
|
}
|