|
package com.consum.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:WH_GOODS_DETAILS *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class WhGoodsDetails extends BasePo<WhGoodsDetails> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
// 主键
|
private Long id = null;
|
@JsonIgnore
|
protected boolean isset_id = false;
|
|
// 属性列表
|
private Long businessFormId = null;
|
@JsonIgnore
|
protected boolean isset_businessFormId = false;
|
|
private String businessFormCode = null;
|
@JsonIgnore
|
protected boolean isset_businessFormCode = false;
|
|
private String businessFormName = null;
|
@JsonIgnore
|
protected boolean isset_businessFormName = 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 warehouseId = null;
|
@JsonIgnore
|
protected boolean isset_warehouseId = false;
|
|
private String warehouseName = null;
|
@JsonIgnore
|
protected boolean isset_warehouseName = false;
|
|
private Integer classification = null;
|
@JsonIgnore
|
protected boolean isset_classification = false;
|
|
private Long operatorId = null;
|
@JsonIgnore
|
protected boolean isset_operatorId = false;
|
|
private String operatorName = null;
|
@JsonIgnore
|
protected boolean isset_operatorName = false;
|
|
private Long dealTime = null;
|
@JsonIgnore
|
protected boolean isset_dealTime = false;
|
|
private Long whGoodsId = null;
|
@JsonIgnore
|
protected boolean isset_whGoodsId = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public WhGoodsDetails() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public WhGoodsDetails(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 getBusinessFormId() {
|
return this.businessFormId;
|
}
|
|
public void setBusinessFormId(Long businessFormId) {
|
this.businessFormId = businessFormId;
|
this.isset_businessFormId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyBusinessFormId() {
|
return this.businessFormId == null;
|
}
|
|
public String getBusinessFormCode() {
|
return this.businessFormCode;
|
}
|
|
public void setBusinessFormCode(String businessFormCode) {
|
this.businessFormCode = businessFormCode;
|
this.isset_businessFormCode = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyBusinessFormCode() {
|
return this.businessFormCode == null || this.businessFormCode.length() == 0;
|
}
|
|
public String getBusinessFormName() {
|
return this.businessFormName;
|
}
|
|
public void setBusinessFormName(String businessFormName) {
|
this.businessFormName = businessFormName;
|
this.isset_businessFormName = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyBusinessFormName() {
|
return this.businessFormName == null || this.businessFormName.length() == 0;
|
}
|
|
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 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 String getWarehouseName() {
|
return this.warehouseName;
|
}
|
|
public void setWarehouseName(String warehouseName) {
|
this.warehouseName = warehouseName;
|
this.isset_warehouseName = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyWarehouseName() {
|
return this.warehouseName == null || this.warehouseName.length() == 0;
|
}
|
|
public Integer getClassification() {
|
return this.classification;
|
}
|
|
public void setClassification(Integer classification) {
|
this.classification = classification;
|
this.isset_classification = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyClassification() {
|
return this.classification == null;
|
}
|
|
public Long getOperatorId() {
|
return this.operatorId;
|
}
|
|
public void setOperatorId(Long operatorId) {
|
this.operatorId = operatorId;
|
this.isset_operatorId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyOperatorId() {
|
return this.operatorId == null;
|
}
|
|
public String getOperatorName() {
|
return this.operatorName;
|
}
|
|
public void setOperatorName(String operatorName) {
|
this.operatorName = operatorName;
|
this.isset_operatorName = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyOperatorName() {
|
return this.operatorName == null || this.operatorName.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;
|
}
|
|
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;
|
}
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("id=").append(this.id)
|
.append("businessFormId=").append(this.businessFormId)
|
.append("businessFormCode=").append(this.businessFormCode)
|
.append("businessFormName=").append(this.businessFormName)
|
.append("initialCount=").append(this.initialCount)
|
.append("thisType=").append(this.thisType)
|
.append("thisCount=").append(this.thisCount)
|
.append("endCount=").append(this.endCount)
|
.append("warehouseId=").append(this.warehouseId)
|
.append("warehouseName=").append(this.warehouseName)
|
.append("classification=").append(this.classification)
|
.append("operatorId=").append(this.operatorId)
|
.append("operatorName=").append(this.operatorName)
|
.append("dealTime=").append(this.dealTime)
|
.append("whGoodsId=").append(this.whGoodsId)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public WhGoodsDetails $clone() {
|
WhGoodsDetails wh_goods_details = new WhGoodsDetails();
|
|
// 数据库名称
|
//wh_goods_details.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
wh_goods_details.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_businessFormId) {
|
wh_goods_details.setBusinessFormId(this.getBusinessFormId());
|
}
|
if (this.isset_businessFormCode) {
|
wh_goods_details.setBusinessFormCode(this.getBusinessFormCode());
|
}
|
if (this.isset_businessFormName) {
|
wh_goods_details.setBusinessFormName(this.getBusinessFormName());
|
}
|
if (this.isset_initialCount) {
|
wh_goods_details.setInitialCount(this.getInitialCount());
|
}
|
if (this.isset_thisType) {
|
wh_goods_details.setThisType(this.getThisType());
|
}
|
if (this.isset_thisCount) {
|
wh_goods_details.setThisCount(this.getThisCount());
|
}
|
if (this.isset_endCount) {
|
wh_goods_details.setEndCount(this.getEndCount());
|
}
|
if (this.isset_warehouseId) {
|
wh_goods_details.setWarehouseId(this.getWarehouseId());
|
}
|
if (this.isset_warehouseName) {
|
wh_goods_details.setWarehouseName(this.getWarehouseName());
|
}
|
if (this.isset_classification) {
|
wh_goods_details.setClassification(this.getClassification());
|
}
|
if (this.isset_operatorId) {
|
wh_goods_details.setOperatorId(this.getOperatorId());
|
}
|
if (this.isset_operatorName) {
|
wh_goods_details.setOperatorName(this.getOperatorName());
|
}
|
if (this.isset_dealTime) {
|
wh_goods_details.setDealTime(this.getDealTime());
|
}
|
if (this.isset_whGoodsId) {
|
wh_goods_details.setWhGoodsId(this.getWhGoodsId());
|
}
|
return wh_goods_details;
|
}
|
}
|