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_PROCURE * * @author genrator */ @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) public class LWhFormProcure extends BasePo { // 序列化版本号 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 warehouseName = null; @JsonIgnore protected boolean isset_warehouseName = false; private Long buyerId = null; @JsonIgnore protected boolean isset_buyerId = false; private String buyerName = null; @JsonIgnore protected boolean isset_buyerName = false; private Long procureTime = null; @JsonIgnore protected boolean isset_procureTime = false; private String procureDoc = null; @JsonIgnore protected boolean isset_procureDoc = false; private Integer buyType = null; @JsonIgnore protected boolean isset_buyType = 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 incomeId = null; @JsonIgnore protected boolean isset_incomeId = false; private String incomeName = null; @JsonIgnore protected boolean isset_incomeName = false; private Long incomeTime = null; @JsonIgnore protected boolean isset_incomeTime = false; private Long warehouseId = null; @JsonIgnore protected boolean isset_warehouseId = false; private String beiz = null; @JsonIgnore protected boolean isset_beiz = false; private Long lWarehouseFlowId = null; @JsonIgnore protected boolean isset_lWarehouseFlowId = false; /** * 默认构造函数 */ public LWhFormProcure() { } /** * 根据主键构造对象 */ public LWhFormProcure(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 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 getBuyerId() { return this.buyerId; } public void setBuyerId(Long buyerId) { this.buyerId = buyerId; this.isset_buyerId = true; } @JsonIgnore public boolean isEmptyBuyerId() { return this.buyerId == null; } public String getBuyerName() { return this.buyerName; } public void setBuyerName(String buyerName) { this.buyerName = buyerName; this.isset_buyerName = true; } @JsonIgnore public boolean isEmptyBuyerName() { return this.buyerName == null || this.buyerName.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 getBuyType() { return this.buyType; } public void setBuyType(Integer buyType) { this.buyType = buyType; this.isset_buyType = true; } @JsonIgnore public boolean isEmptyBuyType() { return this.buyType == null; } 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 getIncomeId() { return this.incomeId; } public void setIncomeId(Long incomeId) { this.incomeId = incomeId; this.isset_incomeId = true; } @JsonIgnore public boolean isEmptyIncomeId() { return this.incomeId == null; } public String getIncomeName() { return this.incomeName; } public void setIncomeName(String incomeName) { this.incomeName = incomeName; this.isset_incomeName = true; } @JsonIgnore public boolean isEmptyIncomeName() { return this.incomeName == null || this.incomeName.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 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 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; } public Long getLWarehouseFlowId() { return this.lWarehouseFlowId; } public void setLWarehouseFlowId(Long lWarehouseFlowId) { this.lWarehouseFlowId = lWarehouseFlowId; this.isset_lWarehouseFlowId = true; } @JsonIgnore public boolean isEmptyLWarehouseFlowId() { return this.lWarehouseFlowId == null; } /** * 重写 toString() 方法 */ @Override public String toString() { return new StringBuilder() .append("id=").append(this.id) .append("businessFormCode=").append(this.businessFormCode) .append("warehouseName=").append(this.warehouseName) .append("buyerId=").append(this.buyerId) .append("buyerName=").append(this.buyerName) .append("procureTime=").append(this.procureTime) .append("procureDoc=").append(this.procureDoc) .append("buyType=").append(this.buyType) .append("states=").append(this.states) .append("agencyId=").append(this.agencyId) .append("agencyName=").append(this.agencyName) .append("incomeId=").append(this.incomeId) .append("incomeName=").append(this.incomeName) .append("incomeTime=").append(this.incomeTime) .append("warehouseId=").append(this.warehouseId) .append("beiz=").append(this.beiz) .append("lWarehouseFlowId=").append(this.lWarehouseFlowId) .toString(); } /** * 克隆 */ public LWhFormProcure $clone() { LWhFormProcure l_wh_form_procure = new LWhFormProcure(); // 数据库名称 //l_wh_form_procure.setDatabaseName_(this.getDatabaseName_()); // 主键 if (this.isset_id) { l_wh_form_procure.setId(this.getId()); } // 普通属性 if (this.isset_businessFormCode) { l_wh_form_procure.setBusinessFormCode(this.getBusinessFormCode()); } if (this.isset_warehouseName) { l_wh_form_procure.setWarehouseName(this.getWarehouseName()); } if (this.isset_buyerId) { l_wh_form_procure.setBuyerId(this.getBuyerId()); } if (this.isset_buyerName) { l_wh_form_procure.setBuyerName(this.getBuyerName()); } if (this.isset_procureTime) { l_wh_form_procure.setProcureTime(this.getProcureTime()); } if (this.isset_procureDoc) { l_wh_form_procure.setProcureDoc(this.getProcureDoc()); } if (this.isset_buyType) { l_wh_form_procure.setBuyType(this.getBuyType()); } if (this.isset_states) { l_wh_form_procure.setStates(this.getStates()); } if (this.isset_agencyId) { l_wh_form_procure.setAgencyId(this.getAgencyId()); } if (this.isset_agencyName) { l_wh_form_procure.setAgencyName(this.getAgencyName()); } if (this.isset_incomeId) { l_wh_form_procure.setIncomeId(this.getIncomeId()); } if (this.isset_incomeName) { l_wh_form_procure.setIncomeName(this.getIncomeName()); } if (this.isset_incomeTime) { l_wh_form_procure.setIncomeTime(this.getIncomeTime()); } if (this.isset_warehouseId) { l_wh_form_procure.setWarehouseId(this.getWarehouseId()); } if (this.isset_beiz) { l_wh_form_procure.setBeiz(this.getBeiz()); } if (this.isset_lWarehouseFlowId) { l_wh_form_procure.setLWarehouseFlowId(this.getLWarehouseFlowId()); } return l_wh_form_procure; } }