|
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 *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class LWhGoodsRecord extends BasePo<LWhGoodsRecord> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
// 主键
|
private Long id = null;
|
@JsonIgnore
|
protected boolean isset_id = false;
|
|
// 属性列表
|
private Long warehouseId = null;
|
@JsonIgnore
|
protected boolean isset_warehouseId = false;
|
|
private Long warehouseFlowId = null;
|
@JsonIgnore
|
protected boolean isset_warehouseFlowId = false;
|
|
private Integer initialCount = null;
|
@JsonIgnore
|
protected boolean isset_initialCount = false;
|
|
private Integer thisType = null;
|
@JsonIgnore
|
protected boolean isset_thisType = false;
|
|
private Integer thisCount = null;
|
@JsonIgnore
|
protected boolean isset_thisCount = false;
|
|
private Integer endCount = null;
|
@JsonIgnore
|
protected boolean isset_endCount = false;
|
|
private Long baseGoodsTemplateId = null;
|
@JsonIgnore
|
protected boolean isset_baseGoodsTemplateId = false;
|
|
private String goodsTemplateName = null;
|
@JsonIgnore
|
protected boolean isset_goodsTemplateName = false;
|
|
private Long baseGoodsModelsId = null;
|
@JsonIgnore
|
protected boolean isset_baseGoodsModelsId = false;
|
|
private String baseGoodsModelsName = null;
|
@JsonIgnore
|
protected boolean isset_baseGoodsModelsName = false;
|
|
private Long dealTime = null;
|
@JsonIgnore
|
protected boolean isset_dealTime = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public LWhGoodsRecord() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public LWhGoodsRecord(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 getWarehouseId() {
|
return this.warehouseId;
|
}
|
|
public void setWarehouseId(Long warehouseId) {
|
this.warehouseId = warehouseId;
|
this.isset_warehouseId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyWarehouseId() {
|
return this.warehouseId == null;
|
}
|
|
public Long getWarehouseFlowId() {
|
return this.warehouseFlowId;
|
}
|
|
public void setWarehouseFlowId(Long warehouseFlowId) {
|
this.warehouseFlowId = warehouseFlowId;
|
this.isset_warehouseFlowId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyWarehouseFlowId() {
|
return this.warehouseFlowId == null;
|
}
|
|
public Integer getInitialCount() {
|
return this.initialCount;
|
}
|
|
public void setInitialCount(Integer initialCount) {
|
this.initialCount = initialCount;
|
this.isset_initialCount = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyInitialCount() {
|
return this.initialCount == 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;
|
}
|
|
public Integer getThisCount() {
|
return this.thisCount;
|
}
|
|
public void setThisCount(Integer thisCount) {
|
this.thisCount = thisCount;
|
this.isset_thisCount = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyThisCount() {
|
return this.thisCount == null;
|
}
|
|
public Integer getEndCount() {
|
return this.endCount;
|
}
|
|
public void setEndCount(Integer endCount) {
|
this.endCount = endCount;
|
this.isset_endCount = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyEndCount() {
|
return this.endCount == null;
|
}
|
|
public Long getBaseGoodsTemplateId() {
|
return this.baseGoodsTemplateId;
|
}
|
|
public void setBaseGoodsTemplateId(Long baseGoodsTemplateId) {
|
this.baseGoodsTemplateId = baseGoodsTemplateId;
|
this.isset_baseGoodsTemplateId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyBaseGoodsTemplateId() {
|
return this.baseGoodsTemplateId == null;
|
}
|
|
public String getGoodsTemplateName() {
|
return this.goodsTemplateName;
|
}
|
|
public void setGoodsTemplateName(String goodsTemplateName) {
|
this.goodsTemplateName = goodsTemplateName;
|
this.isset_goodsTemplateName = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyGoodsTemplateName() {
|
return this.goodsTemplateName == null || this.goodsTemplateName.length() == 0;
|
}
|
|
public Long getBaseGoodsModelsId() {
|
return this.baseGoodsModelsId;
|
}
|
|
public void setBaseGoodsModelsId(Long baseGoodsModelsId) {
|
this.baseGoodsModelsId = baseGoodsModelsId;
|
this.isset_baseGoodsModelsId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyBaseGoodsModelsId() {
|
return this.baseGoodsModelsId == null;
|
}
|
|
public String getBaseGoodsModelsName() {
|
return this.baseGoodsModelsName;
|
}
|
|
public void setBaseGoodsModelsName(String baseGoodsModelsName) {
|
this.baseGoodsModelsName = baseGoodsModelsName;
|
this.isset_baseGoodsModelsName = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyBaseGoodsModelsName() {
|
return this.baseGoodsModelsName == null || this.baseGoodsModelsName.length() == 0;
|
}
|
|
public Long getDealTime() {
|
return this.dealTime;
|
}
|
|
public void setDealTime(Long dealTime) {
|
this.dealTime = dealTime;
|
this.isset_dealTime = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDealTime() {
|
return this.dealTime == null;
|
}
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("id=").append(this.id)
|
.append("warehouseId=").append(this.warehouseId)
|
.append("warehouseFlowId=").append(this.warehouseFlowId)
|
.append("initialCount=").append(this.initialCount)
|
.append("thisType=").append(this.thisType)
|
.append("thisCount=").append(this.thisCount)
|
.append("endCount=").append(this.endCount)
|
.append("baseGoodsTemplateId=").append(this.baseGoodsTemplateId)
|
.append("goodsTemplateName=").append(this.goodsTemplateName)
|
.append("baseGoodsModelsId=").append(this.baseGoodsModelsId)
|
.append("baseGoodsModelsName=").append(this.baseGoodsModelsName)
|
.append("dealTime=").append(this.dealTime)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public LWhGoodsRecord $clone() {
|
LWhGoodsRecord l_wh_goods_record = new LWhGoodsRecord();
|
|
// 数据库名称
|
//l_wh_goods_record.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
l_wh_goods_record.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_warehouseId) {
|
l_wh_goods_record.setWarehouseId(this.getWarehouseId());
|
}
|
if (this.isset_warehouseFlowId) {
|
l_wh_goods_record.setWarehouseFlowId(this.getWarehouseFlowId());
|
}
|
if (this.isset_initialCount) {
|
l_wh_goods_record.setInitialCount(this.getInitialCount());
|
}
|
if (this.isset_thisType) {
|
l_wh_goods_record.setThisType(this.getThisType());
|
}
|
if (this.isset_thisCount) {
|
l_wh_goods_record.setThisCount(this.getThisCount());
|
}
|
if (this.isset_endCount) {
|
l_wh_goods_record.setEndCount(this.getEndCount());
|
}
|
if (this.isset_baseGoodsTemplateId) {
|
l_wh_goods_record.setBaseGoodsTemplateId(this.getBaseGoodsTemplateId());
|
}
|
if (this.isset_goodsTemplateName) {
|
l_wh_goods_record.setGoodsTemplateName(this.getGoodsTemplateName());
|
}
|
if (this.isset_baseGoodsModelsId) {
|
l_wh_goods_record.setBaseGoodsModelsId(this.getBaseGoodsModelsId());
|
}
|
if (this.isset_baseGoodsModelsName) {
|
l_wh_goods_record.setBaseGoodsModelsName(this.getBaseGoodsModelsName());
|
}
|
if (this.isset_dealTime) {
|
l_wh_goods_record.setDealTime(this.getDealTime());
|
}
|
return l_wh_goods_record;
|
}
|
}
|