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_SCRAPPED * * @author genrator */ @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) public class LWhFormScrapped extends BasePo { // 序列化版本号 private static final long serialVersionUID = 1L; // 主键 private Long id = null; @JsonIgnore protected boolean isset_id = false; // 属性列表 private Long lWarehouseFlowId = null; @JsonIgnore protected boolean isset_lWarehouseFlowId = false; private String businessFormCode = null; @JsonIgnore protected boolean isset_businessFormCode = 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 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 String departmentName = null; @JsonIgnore protected boolean isset_departmentName = false; private Long departmentId = null; @JsonIgnore protected boolean isset_departmentId = false; private String uploadFiles = null; @JsonIgnore protected boolean isset_uploadFiles = false; private Integer states = null; @JsonIgnore protected boolean isset_states = false; /** * 默认构造函数 */ public LWhFormScrapped() { } /** * 根据主键构造对象 */ public LWhFormScrapped(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 getLWarehouseFlowId() { return this.lWarehouseFlowId; } public void setLWarehouseFlowId(Long lWarehouseFlowId) { this.lWarehouseFlowId = lWarehouseFlowId; this.isset_lWarehouseFlowId = true; } @JsonIgnore public boolean isEmptyLWarehouseFlowId() { return this.lWarehouseFlowId == 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 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 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 String getDepartmentName() { return this.departmentName; } public void setDepartmentName(String departmentName) { this.departmentName = departmentName; this.isset_departmentName = true; } @JsonIgnore public boolean isEmptyDepartmentName() { return this.departmentName == null || this.departmentName.length() == 0; } public Long getDepartmentId() { return this.departmentId; } public void setDepartmentId(Long departmentId) { this.departmentId = departmentId; this.isset_departmentId = true; } @JsonIgnore public boolean isEmptyDepartmentId() { return this.departmentId == null; } public String getUploadFiles() { return this.uploadFiles; } public void setUploadFiles(String uploadFiles) { this.uploadFiles = uploadFiles; this.isset_uploadFiles = true; } @JsonIgnore public boolean isEmptyUploadFiles() { return this.uploadFiles == null || this.uploadFiles.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; } /** * 重写 toString() 方法 */ @Override public String toString() { return new StringBuilder() .append("id=").append(this.id) .append("lWarehouseFlowId=").append(this.lWarehouseFlowId) .append("businessFormCode=").append(this.businessFormCode) .append("warehouseType=").append(this.warehouseType) .append("warehouseId=").append(this.warehouseId) .append("warehouseName=").append(this.warehouseName) .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("departmentName=").append(this.departmentName) .append("departmentId=").append(this.departmentId) .append("uploadFiles=").append(this.uploadFiles) .append("states=").append(this.states) .toString(); } /** * 克隆 */ public LWhFormScrapped $clone() { LWhFormScrapped l_wh_form_scrapped = new LWhFormScrapped(); // 数据库名称 //l_wh_form_scrapped.setDatabaseName_(this.getDatabaseName_()); // 主键 if (this.isset_id) { l_wh_form_scrapped.setId(this.getId()); } // 普通属性 if (this.isset_lWarehouseFlowId) { l_wh_form_scrapped.setLWarehouseFlowId(this.getLWarehouseFlowId()); } if (this.isset_businessFormCode) { l_wh_form_scrapped.setBusinessFormCode(this.getBusinessFormCode()); } if (this.isset_warehouseType) { l_wh_form_scrapped.setWarehouseType(this.getWarehouseType()); } if (this.isset_warehouseId) { l_wh_form_scrapped.setWarehouseId(this.getWarehouseId()); } if (this.isset_warehouseName) { l_wh_form_scrapped.setWarehouseName(this.getWarehouseName()); } if (this.isset_agencyId) { l_wh_form_scrapped.setAgencyId(this.getAgencyId()); } if (this.isset_agencyName) { l_wh_form_scrapped.setAgencyName(this.getAgencyName()); } if (this.isset_operatorId) { l_wh_form_scrapped.setOperatorId(this.getOperatorId()); } if (this.isset_operatorName) { l_wh_form_scrapped.setOperatorName(this.getOperatorName()); } if (this.isset_dealTime) { l_wh_form_scrapped.setDealTime(this.getDealTime()); } if (this.isset_departmentName) { l_wh_form_scrapped.setDepartmentName(this.getDepartmentName()); } if (this.isset_departmentId) { l_wh_form_scrapped.setDepartmentId(this.getDepartmentId()); } if (this.isset_uploadFiles) { l_wh_form_scrapped.setUploadFiles(this.getUploadFiles()); } if (this.isset_states) { l_wh_form_scrapped.setStates(this.getStates()); } return l_wh_form_scrapped; } }