package com.consum.model.po; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnore; import com.walker.jdbc.BasePo; /** * 表名:WH_FORM_TRANSFER * * @author genrator */ @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) public class WhFormTransfer 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 Long inWarehouseId = null; @JsonIgnore protected boolean isset_inWarehouseId = false; private String inWarehouseName = null; @JsonIgnore protected boolean isset_inWarehouseName = false; private Long outWarehouseId = null; @JsonIgnore protected boolean isset_outWarehouseId = false; private String outWarehouseName = null; @JsonIgnore protected boolean isset_outWarehouseName = false; private Long inAgencyId = null; @JsonIgnore protected boolean isset_inAgencyId = false; private String inAgencyName = null; @JsonIgnore protected boolean isset_inAgencyName = false; private Long outAgencyId = null; @JsonIgnore protected boolean isset_outAgencyId = false; private String outAgencyName = null; @JsonIgnore protected boolean isset_outAgencyName = false; private Long operatorId = null; @JsonIgnore protected boolean isset_operatorId = false; private String operatorName = null; @JsonIgnore protected boolean isset_operatorName = false; private Long createTime = null; @JsonIgnore protected boolean isset_createTime = false; private Integer states = null; @JsonIgnore protected boolean isset_states = false; private Long operatorId3 = null; @JsonIgnore protected boolean isset_operatorId3 = false; private String operatorName3 = null; @JsonIgnore protected boolean isset_operatorName3 = false; private Long ininputTime = null; @JsonIgnore protected boolean isset_ininputTime = false; private Long operatorId2 = null; @JsonIgnore protected boolean isset_operatorId2 = false; private String operatorName2 = null; @JsonIgnore protected boolean isset_operatorName2 = false; private Long outputTime = null; @JsonIgnore protected boolean isset_outputTime = false; private String beiz1 = null; @JsonIgnore protected boolean isset_beiz1 = false; private String beiz2 = null; @JsonIgnore protected boolean isset_beiz2 = false; private String beiz3 = null; @JsonIgnore protected boolean isset_beiz3 = false; private String procureDoc = null; @JsonIgnore protected boolean isset_procureDoc = false; /** * 默认构造函数 */ public WhFormTransfer() { } /** * 根据主键构造对象 */ public WhFormTransfer(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 getInWarehouseId() { return this.inWarehouseId; } public void setInWarehouseId(Long inWarehouseId) { this.inWarehouseId = inWarehouseId; this.isset_inWarehouseId = true; } @JsonIgnore public boolean isEmptyInWarehouseId() { return this.inWarehouseId == null; } public String getInWarehouseName() { return this.inWarehouseName; } public void setInWarehouseName(String inWarehouseName) { this.inWarehouseName = inWarehouseName; this.isset_inWarehouseName = true; } @JsonIgnore public boolean isEmptyInWarehouseName() { return this.inWarehouseName == null || this.inWarehouseName.length() == 0; } public Long getOutWarehouseId() { return this.outWarehouseId; } public void setOutWarehouseId(Long outWarehouseId) { this.outWarehouseId = outWarehouseId; this.isset_outWarehouseId = true; } @JsonIgnore public boolean isEmptyOutWarehouseId() { return this.outWarehouseId == null; } public String getOutWarehouseName() { return this.outWarehouseName; } public void setOutWarehouseName(String outWarehouseName) { this.outWarehouseName = outWarehouseName; this.isset_outWarehouseName = true; } @JsonIgnore public boolean isEmptyOutWarehouseName() { return this.outWarehouseName == null || this.outWarehouseName.length() == 0; } public Long getInAgencyId() { return this.inAgencyId; } public void setInAgencyId(Long inAgencyId) { this.inAgencyId = inAgencyId; this.isset_inAgencyId = true; } @JsonIgnore public boolean isEmptyInAgencyId() { return this.inAgencyId == null; } public String getInAgencyName() { return this.inAgencyName; } public void setInAgencyName(String inAgencyName) { this.inAgencyName = inAgencyName; this.isset_inAgencyName = true; } @JsonIgnore public boolean isEmptyInAgencyName() { return this.inAgencyName == null || this.inAgencyName.length() == 0; } public Long getOutAgencyId() { return this.outAgencyId; } public void setOutAgencyId(Long outAgencyId) { this.outAgencyId = outAgencyId; this.isset_outAgencyId = true; } @JsonIgnore public boolean isEmptyOutAgencyId() { return this.outAgencyId == null; } public String getOutAgencyName() { return this.outAgencyName; } public void setOutAgencyName(String outAgencyName) { this.outAgencyName = outAgencyName; this.isset_outAgencyName = true; } @JsonIgnore public boolean isEmptyOutAgencyName() { return this.outAgencyName == null || this.outAgencyName.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 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 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 getOperatorId3() { return this.operatorId3; } public void setOperatorId3(Long operatorId3) { this.operatorId3 = operatorId3; this.isset_operatorId3 = true; } @JsonIgnore public boolean isEmptyOperatorId3() { return this.operatorId3 == null; } public String getOperatorName3() { return this.operatorName3; } public void setOperatorName3(String operatorName3) { this.operatorName3 = operatorName3; this.isset_operatorName3 = true; } @JsonIgnore public boolean isEmptyOperatorName3() { return this.operatorName3 == null || this.operatorName3.length() == 0; } public Long getIninputTime() { return this.ininputTime; } public void setIninputTime(Long ininputTime) { this.ininputTime = ininputTime; this.isset_ininputTime = true; } @JsonIgnore public boolean isEmptyIninputTime() { return this.ininputTime == 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 Long getOutputTime() { return this.outputTime; } public void setOutputTime(Long outputTime) { this.outputTime = outputTime; this.isset_outputTime = true; } @JsonIgnore public boolean isEmptyOutputTime() { return this.outputTime == null; } 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 String getBeiz2() { return this.beiz2; } public void setBeiz2(String beiz2) { this.beiz2 = beiz2; this.isset_beiz2 = true; } @JsonIgnore public boolean isEmptyBeiz2() { return this.beiz2 == null || this.beiz2.length() == 0; } public String getBeiz3() { return this.beiz3; } public void setBeiz3(String beiz3) { this.beiz3 = beiz3; this.isset_beiz3 = true; } @JsonIgnore public boolean isEmptyBeiz3() { return this.beiz3 == null || this.beiz3.length() == 0; } 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; } /** * 重写 toString() 方法 */ @Override public String toString() { return new StringBuilder() .append("id=").append(this.id) .append("businessFormCode=").append(this.businessFormCode) .append("inWarehouseId=").append(this.inWarehouseId) .append("inWarehouseName=").append(this.inWarehouseName) .append("outWarehouseId=").append(this.outWarehouseId) .append("outWarehouseName=").append(this.outWarehouseName) .append("inAgencyId=").append(this.inAgencyId) .append("inAgencyName=").append(this.inAgencyName) .append("outAgencyId=").append(this.outAgencyId) .append("outAgencyName=").append(this.outAgencyName) .append("operatorId=").append(this.operatorId) .append("operatorName=").append(this.operatorName) .append("createTime=").append(this.createTime) .append("states=").append(this.states) .append("operatorId3=").append(this.operatorId3) .append("operatorName3=").append(this.operatorName3) .append("ininputTime=").append(this.ininputTime) .append("operatorId2=").append(this.operatorId2) .append("operatorName2=").append(this.operatorName2) .append("outputTime=").append(this.outputTime) .append("beiz1=").append(this.beiz1) .append("beiz2=").append(this.beiz2) .append("beiz3=").append(this.beiz3) .append("procureDoc=").append(this.procureDoc) .toString(); } /** * 克隆 */ public WhFormTransfer $clone() { WhFormTransfer wh_form_transfer = new WhFormTransfer(); // 数据库名称 //wh_form_transfer.setDatabaseName_(this.getDatabaseName_()); // 主键 if (this.isset_id) { wh_form_transfer.setId(this.getId()); } // 普通属性 if (this.isset_businessFormCode) { wh_form_transfer.setBusinessFormCode(this.getBusinessFormCode()); } if (this.isset_inWarehouseId) { wh_form_transfer.setInWarehouseId(this.getInWarehouseId()); } if (this.isset_inWarehouseName) { wh_form_transfer.setInWarehouseName(this.getInWarehouseName()); } if (this.isset_outWarehouseId) { wh_form_transfer.setOutWarehouseId(this.getOutWarehouseId()); } if (this.isset_outWarehouseName) { wh_form_transfer.setOutWarehouseName(this.getOutWarehouseName()); } if (this.isset_inAgencyId) { wh_form_transfer.setInAgencyId(this.getInAgencyId()); } if (this.isset_inAgencyName) { wh_form_transfer.setInAgencyName(this.getInAgencyName()); } if (this.isset_outAgencyId) { wh_form_transfer.setOutAgencyId(this.getOutAgencyId()); } if (this.isset_outAgencyName) { wh_form_transfer.setOutAgencyName(this.getOutAgencyName()); } if (this.isset_operatorId) { wh_form_transfer.setOperatorId(this.getOperatorId()); } if (this.isset_operatorName) { wh_form_transfer.setOperatorName(this.getOperatorName()); } if (this.isset_createTime) { wh_form_transfer.setCreateTime(this.getCreateTime()); } if (this.isset_states) { wh_form_transfer.setStates(this.getStates()); } if (this.isset_operatorId3) { wh_form_transfer.setOperatorId3(this.getOperatorId3()); } if (this.isset_operatorName3) { wh_form_transfer.setOperatorName3(this.getOperatorName3()); } if (this.isset_ininputTime) { wh_form_transfer.setIninputTime(this.getIninputTime()); } if (this.isset_operatorId2) { wh_form_transfer.setOperatorId2(this.getOperatorId2()); } if (this.isset_operatorName2) { wh_form_transfer.setOperatorName2(this.getOperatorName2()); } if (this.isset_outputTime) { wh_form_transfer.setOutputTime(this.getOutputTime()); } if (this.isset_beiz1) { wh_form_transfer.setBeiz1(this.getBeiz1()); } if (this.isset_beiz2) { wh_form_transfer.setBeiz2(this.getBeiz2()); } if (this.isset_beiz3) { wh_form_transfer.setBeiz3(this.getBeiz3()); } if (this.isset_procureDoc) { wh_form_transfer.setProcureDoc(this.getProcureDoc()); } return wh_form_transfer; } }