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_OUTPUT * * @author genrator */ @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) public class LWhFormOutput extends BasePo { // 序列化版本号 private static final long serialVersionUID = 1L; // 主键 private Long id = null; @JsonIgnore protected boolean isset_id = false; // 属性列表 private Long warehouseFlowId = null; @JsonIgnore protected boolean isset_warehouseFlowId = false; private String businessFormCode = null; @JsonIgnore protected boolean isset_businessFormCode = false; private Long inWarehouseFlowId = null; @JsonIgnore protected boolean isset_inWarehouseFlowId = false; private Long transBusinessId = null; @JsonIgnore protected boolean isset_transBusinessId = false; private String outputCode = null; @JsonIgnore protected boolean isset_outputCode = false; private String outputName = null; @JsonIgnore protected boolean isset_outputName = false; private Long warehouseId = null; @JsonIgnore protected boolean isset_warehouseId = false; private String warehouseName = null; @JsonIgnore protected boolean isset_warehouseName = false; private Long inWarehouseId = null; @JsonIgnore protected boolean isset_inWarehouseId = false; private String inWarehouseName = null; @JsonIgnore protected boolean isset_inWarehouseName = false; private Long agencyId = null; @JsonIgnore protected boolean isset_agencyId = false; private String agencyName = null; @JsonIgnore protected boolean isset_agencyName = 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 Integer states = null; @JsonIgnore protected boolean isset_states = false; private String beiz = null; @JsonIgnore protected boolean isset_beiz = false; /** * 默认构造函数 */ public LWhFormOutput() { } /** * 根据主键构造对象 */ public LWhFormOutput(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 getWarehouseFlowId() { return this.warehouseFlowId; } public void setWarehouseFlowId(Long warehouseFlowId) { this.warehouseFlowId = warehouseFlowId; this.isset_warehouseFlowId = true; } @JsonIgnore public boolean isEmptyWarehouseFlowId() { return this.warehouseFlowId == 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 getInWarehouseFlowId() { return this.inWarehouseFlowId; } public void setInWarehouseFlowId(Long inWarehouseFlowId) { this.inWarehouseFlowId = inWarehouseFlowId; this.isset_inWarehouseFlowId = true; } @JsonIgnore public boolean isEmptyInWarehouseFlowId() { return this.inWarehouseFlowId == null; } public Long getTransBusinessId() { return this.transBusinessId; } public void setTransBusinessId(Long transBusinessId) { this.transBusinessId = transBusinessId; this.isset_transBusinessId = true; } @JsonIgnore public boolean isEmptyTransBusinessId() { return this.transBusinessId == null; } public String getOutputCode() { return this.outputCode; } public void setOutputCode(String outputCode) { this.outputCode = outputCode; this.isset_outputCode = true; } @JsonIgnore public boolean isEmptyOutputCode() { return this.outputCode == null || this.outputCode.length() == 0; } public String getOutputName() { return this.outputName; } public void setOutputName(String outputName) { this.outputName = outputName; this.isset_outputName = true; } @JsonIgnore public boolean isEmptyOutputName() { return this.outputName == null || this.outputName.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 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 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 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 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 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("warehouseFlowId=").append(this.warehouseFlowId) .append("businessFormCode=").append(this.businessFormCode) .append("inWarehouseFlowId=").append(this.inWarehouseFlowId) .append("transBusinessId=").append(this.transBusinessId) .append("outputCode=").append(this.outputCode) .append("outputName=").append(this.outputName) .append("warehouseId=").append(this.warehouseId) .append("warehouseName=").append(this.warehouseName) .append("inWarehouseId=").append(this.inWarehouseId) .append("inWarehouseName=").append(this.inWarehouseName) .append("agencyId=").append(this.agencyId) .append("agencyName=").append(this.agencyName) .append("operatorId=").append(this.operatorId) .append("operatorName=").append(this.operatorName) .append("dealTime=").append(this.dealTime) .append("states=").append(this.states) .append("beiz=").append(this.beiz) .toString(); } /** * 克隆 */ public LWhFormOutput $clone() { LWhFormOutput l_wh_form_output = new LWhFormOutput(); // 数据库名称 //l_wh_form_output.setDatabaseName_(this.getDatabaseName_()); // 主键 if (this.isset_id) { l_wh_form_output.setId(this.getId()); } // 普通属性 if (this.isset_warehouseFlowId) { l_wh_form_output.setWarehouseFlowId(this.getWarehouseFlowId()); } if (this.isset_businessFormCode) { l_wh_form_output.setBusinessFormCode(this.getBusinessFormCode()); } if (this.isset_inWarehouseFlowId) { l_wh_form_output.setInWarehouseFlowId(this.getInWarehouseFlowId()); } if (this.isset_transBusinessId) { l_wh_form_output.setTransBusinessId(this.getTransBusinessId()); } if (this.isset_outputCode) { l_wh_form_output.setOutputCode(this.getOutputCode()); } if (this.isset_outputName) { l_wh_form_output.setOutputName(this.getOutputName()); } if (this.isset_warehouseId) { l_wh_form_output.setWarehouseId(this.getWarehouseId()); } if (this.isset_warehouseName) { l_wh_form_output.setWarehouseName(this.getWarehouseName()); } if (this.isset_inWarehouseId) { l_wh_form_output.setInWarehouseId(this.getInWarehouseId()); } if (this.isset_inWarehouseName) { l_wh_form_output.setInWarehouseName(this.getInWarehouseName()); } if (this.isset_agencyId) { l_wh_form_output.setAgencyId(this.getAgencyId()); } if (this.isset_agencyName) { l_wh_form_output.setAgencyName(this.getAgencyName()); } if (this.isset_operatorId) { l_wh_form_output.setOperatorId(this.getOperatorId()); } if (this.isset_operatorName) { l_wh_form_output.setOperatorName(this.getOperatorName()); } if (this.isset_dealTime) { l_wh_form_output.setDealTime(this.getDealTime()); } if (this.isset_states) { l_wh_form_output.setStates(this.getStates()); } if (this.isset_beiz) { l_wh_form_output.setBeiz(this.getBeiz()); } return l_wh_form_output; } }