|
package com.consum.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:L_WH_FORM_INVENTORY *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class LWhFormInventory extends BasePo<LWhFormInventory> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
// 主键
|
private Long id = null;
|
@JsonIgnore
|
protected boolean isset_id = false;
|
|
// 属性列表
|
private String businessFormCode = null;
|
@JsonIgnore
|
protected boolean isset_businessFormCode = false;
|
|
private String businessFormName = null;
|
@JsonIgnore
|
protected boolean isset_businessFormName = false;
|
|
private Integer warehouseType = null;
|
@JsonIgnore
|
protected boolean isset_warehouseType = false;
|
|
private Long warehouseId = null;
|
@JsonIgnore
|
protected boolean isset_warehouseId = false;
|
|
private String warehouseName = null;
|
@JsonIgnore
|
protected boolean isset_warehouseName = false;
|
|
private Long operatorId = null;
|
@JsonIgnore
|
protected boolean isset_operatorId = false;
|
|
private String operatorName = null;
|
@JsonIgnore
|
protected boolean isset_operatorName = false;
|
|
private Integer states = null;
|
@JsonIgnore
|
protected boolean isset_states = false;
|
|
private Long operatorId2 = null;
|
@JsonIgnore
|
protected boolean isset_operatorId2 = false;
|
|
private String operatorName2 = null;
|
@JsonIgnore
|
protected boolean isset_operatorName2 = false;
|
|
private String beiz1 = null;
|
@JsonIgnore
|
protected boolean isset_beiz1 = false;
|
|
private Long agencyId = null;
|
@JsonIgnore
|
protected boolean isset_agencyId = false;
|
|
private String agencyName = null;
|
@JsonIgnore
|
protected boolean isset_agencyName = false;
|
|
private Long creatorId = null;
|
@JsonIgnore
|
protected boolean isset_creatorId = false;
|
|
private String creatorName = null;
|
@JsonIgnore
|
protected boolean isset_creatorName = false;
|
|
private Long inventoryDate = null;
|
@JsonIgnore
|
protected boolean isset_inventoryDate = false;
|
|
private Long createTime = null;
|
@JsonIgnore
|
protected boolean isset_createTime = false;
|
|
private Long stopTime = null;
|
@JsonIgnore
|
protected boolean isset_stopTime = false;
|
|
private Long inWarehouseFormId = null;
|
@JsonIgnore
|
protected boolean isset_inWarehouseFormId = false;
|
|
private String inBusinessFormCode = null;
|
@JsonIgnore
|
protected boolean isset_inBusinessFormCode = false;
|
|
private Long outWarehouseFormId = null;
|
@JsonIgnore
|
protected boolean isset_outWarehouseFormId = false;
|
|
private String outBusinessFormCode = null;
|
@JsonIgnore
|
protected boolean isset_outBusinessFormCode = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public LWhFormInventory() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public LWhFormInventory(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 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 getWarehouseType() {
|
return this.warehouseType;
|
}
|
|
public void setWarehouseType(Integer warehouseType) {
|
this.warehouseType = warehouseType;
|
this.isset_warehouseType = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyWarehouseType() {
|
return this.warehouseType == 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 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 Integer getStates() {
|
return this.states;
|
}
|
|
public void setStates(Integer states) {
|
this.states = states;
|
this.isset_states = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyStates() {
|
return this.states == null;
|
}
|
|
public Long getOperatorId2() {
|
return this.operatorId2;
|
}
|
|
public void setOperatorId2(Long operatorId2) {
|
this.operatorId2 = operatorId2;
|
this.isset_operatorId2 = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyOperatorId2() {
|
return this.operatorId2 == null;
|
}
|
|
public String getOperatorName2() {
|
return this.operatorName2;
|
}
|
|
public void setOperatorName2(String operatorName2) {
|
this.operatorName2 = operatorName2;
|
this.isset_operatorName2 = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyOperatorName2() {
|
return this.operatorName2 == null || this.operatorName2.length() == 0;
|
}
|
|
public String getBeiz1() {
|
return this.beiz1;
|
}
|
|
public void setBeiz1(String beiz1) {
|
this.beiz1 = beiz1;
|
this.isset_beiz1 = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyBeiz1() {
|
return this.beiz1 == null || this.beiz1.length() == 0;
|
}
|
|
public Long getAgencyId() {
|
return this.agencyId;
|
}
|
|
public void setAgencyId(Long agencyId) {
|
this.agencyId = agencyId;
|
this.isset_agencyId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyAgencyId() {
|
return this.agencyId == null;
|
}
|
|
public String getAgencyName() {
|
return this.agencyName;
|
}
|
|
public void setAgencyName(String agencyName) {
|
this.agencyName = agencyName;
|
this.isset_agencyName = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyAgencyName() {
|
return this.agencyName == null || this.agencyName.length() == 0;
|
}
|
|
public Long getCreatorId() {
|
return this.creatorId;
|
}
|
|
public void setCreatorId(Long creatorId) {
|
this.creatorId = creatorId;
|
this.isset_creatorId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCreatorId() {
|
return this.creatorId == null;
|
}
|
|
public String getCreatorName() {
|
return this.creatorName;
|
}
|
|
public void setCreatorName(String creatorName) {
|
this.creatorName = creatorName;
|
this.isset_creatorName = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCreatorName() {
|
return this.creatorName == null || this.creatorName.length() == 0;
|
}
|
|
public Long getInventoryDate() {
|
return this.inventoryDate;
|
}
|
|
public void setInventoryDate(Long inventoryDate) {
|
this.inventoryDate = inventoryDate;
|
this.isset_inventoryDate = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyInventoryDate() {
|
return this.inventoryDate == 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 getStopTime() {
|
return this.stopTime;
|
}
|
|
public void setStopTime(Long stopTime) {
|
this.stopTime = stopTime;
|
this.isset_stopTime = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyStopTime() {
|
return this.stopTime == null;
|
}
|
|
public Long getInWarehouseFormId() {
|
return this.inWarehouseFormId;
|
}
|
|
public void setInWarehouseFormId(Long inWarehouseFormId) {
|
this.inWarehouseFormId = inWarehouseFormId;
|
this.isset_inWarehouseFormId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyInWarehouseFormId() {
|
return this.inWarehouseFormId == null;
|
}
|
|
public String getInBusinessFormCode() {
|
return this.inBusinessFormCode;
|
}
|
|
public void setInBusinessFormCode(String inBusinessFormCode) {
|
this.inBusinessFormCode = inBusinessFormCode;
|
this.isset_inBusinessFormCode = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyInBusinessFormCode() {
|
return this.inBusinessFormCode == null || this.inBusinessFormCode.length() == 0;
|
}
|
|
public Long getOutWarehouseFormId() {
|
return this.outWarehouseFormId;
|
}
|
|
public void setOutWarehouseFormId(Long outWarehouseFormId) {
|
this.outWarehouseFormId = outWarehouseFormId;
|
this.isset_outWarehouseFormId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyOutWarehouseFormId() {
|
return this.outWarehouseFormId == null;
|
}
|
|
public String getOutBusinessFormCode() {
|
return this.outBusinessFormCode;
|
}
|
|
public void setOutBusinessFormCode(String outBusinessFormCode) {
|
this.outBusinessFormCode = outBusinessFormCode;
|
this.isset_outBusinessFormCode = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyOutBusinessFormCode() {
|
return this.outBusinessFormCode == null || this.outBusinessFormCode.length() == 0;
|
}
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("id=").append(this.id)
|
.append("businessFormCode=").append(this.businessFormCode)
|
.append("businessFormName=").append(this.businessFormName)
|
.append("warehouseType=").append(this.warehouseType)
|
.append("warehouseId=").append(this.warehouseId)
|
.append("warehouseName=").append(this.warehouseName)
|
.append("operatorId=").append(this.operatorId)
|
.append("operatorName=").append(this.operatorName)
|
.append("states=").append(this.states)
|
.append("operatorId2=").append(this.operatorId2)
|
.append("operatorName2=").append(this.operatorName2)
|
.append("beiz1=").append(this.beiz1)
|
.append("agencyId=").append(this.agencyId)
|
.append("agencyName=").append(this.agencyName)
|
.append("creatorId=").append(this.creatorId)
|
.append("creatorName=").append(this.creatorName)
|
.append("inventoryDate=").append(this.inventoryDate)
|
.append("createTime=").append(this.createTime)
|
.append("stopTime=").append(this.stopTime)
|
.append("inWarehouseFormId=").append(this.inWarehouseFormId)
|
.append("inBusinessFormCode=").append(this.inBusinessFormCode)
|
.append("outWarehouseFormId=").append(this.outWarehouseFormId)
|
.append("outBusinessFormCode=").append(this.outBusinessFormCode)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public LWhFormInventory $clone() {
|
LWhFormInventory l_wh_form_inventory = new LWhFormInventory();
|
|
// 数据库名称
|
//l_wh_form_inventory.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
l_wh_form_inventory.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_businessFormCode) {
|
l_wh_form_inventory.setBusinessFormCode(this.getBusinessFormCode());
|
}
|
if (this.isset_businessFormName) {
|
l_wh_form_inventory.setBusinessFormName(this.getBusinessFormName());
|
}
|
if (this.isset_warehouseType) {
|
l_wh_form_inventory.setWarehouseType(this.getWarehouseType());
|
}
|
if (this.isset_warehouseId) {
|
l_wh_form_inventory.setWarehouseId(this.getWarehouseId());
|
}
|
if (this.isset_warehouseName) {
|
l_wh_form_inventory.setWarehouseName(this.getWarehouseName());
|
}
|
if (this.isset_operatorId) {
|
l_wh_form_inventory.setOperatorId(this.getOperatorId());
|
}
|
if (this.isset_operatorName) {
|
l_wh_form_inventory.setOperatorName(this.getOperatorName());
|
}
|
if (this.isset_states) {
|
l_wh_form_inventory.setStates(this.getStates());
|
}
|
if (this.isset_operatorId2) {
|
l_wh_form_inventory.setOperatorId2(this.getOperatorId2());
|
}
|
if (this.isset_operatorName2) {
|
l_wh_form_inventory.setOperatorName2(this.getOperatorName2());
|
}
|
if (this.isset_beiz1) {
|
l_wh_form_inventory.setBeiz1(this.getBeiz1());
|
}
|
if (this.isset_agencyId) {
|
l_wh_form_inventory.setAgencyId(this.getAgencyId());
|
}
|
if (this.isset_agencyName) {
|
l_wh_form_inventory.setAgencyName(this.getAgencyName());
|
}
|
if (this.isset_creatorId) {
|
l_wh_form_inventory.setCreatorId(this.getCreatorId());
|
}
|
if (this.isset_creatorName) {
|
l_wh_form_inventory.setCreatorName(this.getCreatorName());
|
}
|
if (this.isset_inventoryDate) {
|
l_wh_form_inventory.setInventoryDate(this.getInventoryDate());
|
}
|
if (this.isset_createTime) {
|
l_wh_form_inventory.setCreateTime(this.getCreateTime());
|
}
|
if (this.isset_stopTime) {
|
l_wh_form_inventory.setStopTime(this.getStopTime());
|
}
|
if (this.isset_inWarehouseFormId) {
|
l_wh_form_inventory.setInWarehouseFormId(this.getInWarehouseFormId());
|
}
|
if (this.isset_inBusinessFormCode) {
|
l_wh_form_inventory.setInBusinessFormCode(this.getInBusinessFormCode());
|
}
|
if (this.isset_outWarehouseFormId) {
|
l_wh_form_inventory.setOutWarehouseFormId(this.getOutWarehouseFormId());
|
}
|
if (this.isset_outBusinessFormCode) {
|
l_wh_form_inventory.setOutBusinessFormCode(this.getOutBusinessFormCode());
|
}
|
return l_wh_form_inventory;
|
}
|
}
|