|
package com.consum.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:WH_FORM_PROCURE *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class WhFormProcure extends BasePo<WhFormProcure> {
|
// 序列化版本号
|
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 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 Long procureTime = null;
|
@JsonIgnore
|
protected boolean isset_procureTime = false;
|
|
private String procureDoc = null;
|
@JsonIgnore
|
protected boolean isset_procureDoc = false;
|
|
private Integer states = null;
|
@JsonIgnore
|
protected boolean isset_states = false;
|
|
private Long agencyId = null;
|
@JsonIgnore
|
protected boolean isset_agencyId = false;
|
|
private String agencyName = null;
|
@JsonIgnore
|
protected boolean isset_agencyName = false;
|
|
private Long operatorId2 = null;
|
@JsonIgnore
|
protected boolean isset_operatorId2 = false;
|
|
private String operatorName2 = null;
|
@JsonIgnore
|
protected boolean isset_operatorName2 = false;
|
|
private Long incomeTime = null;
|
@JsonIgnore
|
protected boolean isset_incomeTime = false;
|
|
private String beiz = null;
|
@JsonIgnore
|
protected boolean isset_beiz = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public WhFormProcure() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public WhFormProcure(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 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 Long getProcureTime() {
|
return this.procureTime;
|
}
|
|
public void setProcureTime(Long procureTime) {
|
this.procureTime = procureTime;
|
this.isset_procureTime = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyProcureTime() {
|
return this.procureTime == null;
|
}
|
|
public String getProcureDoc() {
|
return this.procureDoc;
|
}
|
|
public void setProcureDoc(String procureDoc) {
|
this.procureDoc = procureDoc;
|
this.isset_procureDoc = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyProcureDoc() {
|
return this.procureDoc == null || this.procureDoc.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 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 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 Long getIncomeTime() {
|
return this.incomeTime;
|
}
|
|
public void setIncomeTime(Long incomeTime) {
|
this.incomeTime = incomeTime;
|
this.isset_incomeTime = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyIncomeTime() {
|
return this.incomeTime == null;
|
}
|
|
public String getBeiz() {
|
return this.beiz;
|
}
|
|
public void setBeiz(String beiz) {
|
this.beiz = beiz;
|
this.isset_beiz = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyBeiz() {
|
return this.beiz == null || this.beiz.length() == 0;
|
}
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("id=").append(this.id)
|
.append("businessFormCode=").append(this.businessFormCode)
|
.append("warehouseId=").append(this.warehouseId)
|
.append("warehouseName=").append(this.warehouseName)
|
.append("operatorId=").append(this.operatorId)
|
.append("operatorName=").append(this.operatorName)
|
.append("procureTime=").append(this.procureTime)
|
.append("procureDoc=").append(this.procureDoc)
|
.append("states=").append(this.states)
|
.append("agencyId=").append(this.agencyId)
|
.append("agencyName=").append(this.agencyName)
|
.append("operatorId2=").append(this.operatorId2)
|
.append("operatorName2=").append(this.operatorName2)
|
.append("incomeTime=").append(this.incomeTime)
|
.append("beiz=").append(this.beiz)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public WhFormProcure $clone() {
|
WhFormProcure wh_form_procure = new WhFormProcure();
|
|
// 数据库名称
|
//wh_form_procure.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
wh_form_procure.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_businessFormCode) {
|
wh_form_procure.setBusinessFormCode(this.getBusinessFormCode());
|
}
|
if (this.isset_warehouseId) {
|
wh_form_procure.setWarehouseId(this.getWarehouseId());
|
}
|
if (this.isset_warehouseName) {
|
wh_form_procure.setWarehouseName(this.getWarehouseName());
|
}
|
if (this.isset_operatorId) {
|
wh_form_procure.setOperatorId(this.getOperatorId());
|
}
|
if (this.isset_operatorName) {
|
wh_form_procure.setOperatorName(this.getOperatorName());
|
}
|
if (this.isset_procureTime) {
|
wh_form_procure.setProcureTime(this.getProcureTime());
|
}
|
if (this.isset_procureDoc) {
|
wh_form_procure.setProcureDoc(this.getProcureDoc());
|
}
|
if (this.isset_states) {
|
wh_form_procure.setStates(this.getStates());
|
}
|
if (this.isset_agencyId) {
|
wh_form_procure.setAgencyId(this.getAgencyId());
|
}
|
if (this.isset_agencyName) {
|
wh_form_procure.setAgencyName(this.getAgencyName());
|
}
|
if (this.isset_operatorId2) {
|
wh_form_procure.setOperatorId2(this.getOperatorId2());
|
}
|
if (this.isset_operatorName2) {
|
wh_form_procure.setOperatorName2(this.getOperatorName2());
|
}
|
if (this.isset_incomeTime) {
|
wh_form_procure.setIncomeTime(this.getIncomeTime());
|
}
|
if (this.isset_beiz) {
|
wh_form_procure.setBeiz(this.getBeiz());
|
}
|
return wh_form_procure;
|
}
|
}
|