package com.consum.model.po; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnore; import com.walker.jdbc.BasePo; /** * 表名:DEP_FORM_LENDING * * @author genrator */ @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) public class DepFormLending extends BasePo { // 序列化版本号 private static final long serialVersionUID = 1L; // 主键 private Long id = null; @JsonIgnore protected boolean isset_id = false; // 属性列表 private String businessFormName = null; @JsonIgnore protected boolean isset_businessFormName = false; private String businessFormCode = null; @JsonIgnore protected boolean isset_businessFormCode = false; private Long operatorId = null; @JsonIgnore protected boolean isset_operatorId = false; private String operatorName = null; @JsonIgnore protected boolean isset_operatorName = false; private String receiverName = null; @JsonIgnore protected boolean isset_receiverName = false; private String receiverPhone = null; @JsonIgnore protected boolean isset_receiverPhone = false; private Long dealTime = null; @JsonIgnore protected boolean isset_dealTime = false; private Long agencyId = null; @JsonIgnore protected boolean isset_agencyId = false; private String agencyName = null; @JsonIgnore protected boolean isset_agencyName = false; private String departmentId = null; @JsonIgnore protected boolean isset_departmentId = false; private Long departmentName = null; @JsonIgnore protected boolean isset_departmentName = false; private String beiz = null; @JsonIgnore protected boolean isset_beiz = false; private String uploadFiles = null; @JsonIgnore protected boolean isset_uploadFiles = false; private Integer usingCount = null; @JsonIgnore protected boolean isset_usingCount = false; private Long warehouseId = null; @JsonIgnore protected boolean isset_warehouseId = false; private String warehouseName = null; @JsonIgnore protected boolean isset_warehouseName = false; /** * 默认构造函数 */ public DepFormLending() { } /** * 根据主键构造对象 */ public DepFormLending(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 getBusinessFormName() { return this.businessFormName; } public void setBusinessFormName(String businessFormName) { this.businessFormName = businessFormName; this.isset_businessFormName = true; } @JsonIgnore public boolean isEmptyBusinessFormName() { return this.businessFormName == null || this.businessFormName.length() == 0; } 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 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 String getReceiverName() { return this.receiverName; } public void setReceiverName(String receiverName) { this.receiverName = receiverName; this.isset_receiverName = true; } @JsonIgnore public boolean isEmptyReceiverName() { return this.receiverName == null || this.receiverName.length() == 0; } public String getReceiverPhone() { return this.receiverPhone; } public void setReceiverPhone(String receiverPhone) { this.receiverPhone = receiverPhone; this.isset_receiverPhone = true; } @JsonIgnore public boolean isEmptyReceiverPhone() { return this.receiverPhone == null || this.receiverPhone.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 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 String getDepartmentId() { return this.departmentId; } public void setDepartmentId(String departmentId) { this.departmentId = departmentId; this.isset_departmentId = true; } @JsonIgnore public boolean isEmptyDepartmentId() { return this.departmentId == null || this.departmentId.length() == 0; } public Long getDepartmentName() { return this.departmentName; } public void setDepartmentName(Long departmentName) { this.departmentName = departmentName; this.isset_departmentName = true; } @JsonIgnore public boolean isEmptyDepartmentName() { return this.departmentName == 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 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 getUsingCount() { return this.usingCount; } public void setUsingCount(Integer usingCount) { this.usingCount = usingCount; this.isset_usingCount = true; } @JsonIgnore public boolean isEmptyUsingCount() { return this.usingCount == 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; } /** * 重写 toString() 方法 */ @Override public String toString() { return new StringBuilder() .append("id=").append(this.id) .append("businessFormName=").append(this.businessFormName) .append("businessFormCode=").append(this.businessFormCode) .append("operatorId=").append(this.operatorId) .append("operatorName=").append(this.operatorName) .append("receiverName=").append(this.receiverName) .append("receiverPhone=").append(this.receiverPhone) .append("dealTime=").append(this.dealTime) .append("agencyId=").append(this.agencyId) .append("agencyName=").append(this.agencyName) .append("departmentId=").append(this.departmentId) .append("departmentName=").append(this.departmentName) .append("beiz=").append(this.beiz) .append("uploadFiles=").append(this.uploadFiles) .append("usingCount=").append(this.usingCount) .append("warehouseId=").append(this.warehouseId) .append("warehouseName=").append(this.warehouseName) .toString(); } /** * 克隆 */ public DepFormLending $clone() { DepFormLending dep_form_lending = new DepFormLending(); // 数据库名称 //dep_form_lending.setDatabaseName_(this.getDatabaseName_()); // 主键 if (this.isset_id) { dep_form_lending.setId(this.getId()); } // 普通属性 if (this.isset_businessFormName) { dep_form_lending.setBusinessFormName(this.getBusinessFormName()); } if (this.isset_businessFormCode) { dep_form_lending.setBusinessFormCode(this.getBusinessFormCode()); } if (this.isset_operatorId) { dep_form_lending.setOperatorId(this.getOperatorId()); } if (this.isset_operatorName) { dep_form_lending.setOperatorName(this.getOperatorName()); } if (this.isset_receiverName) { dep_form_lending.setReceiverName(this.getReceiverName()); } if (this.isset_receiverPhone) { dep_form_lending.setReceiverPhone(this.getReceiverPhone()); } if (this.isset_dealTime) { dep_form_lending.setDealTime(this.getDealTime()); } if (this.isset_agencyId) { dep_form_lending.setAgencyId(this.getAgencyId()); } if (this.isset_agencyName) { dep_form_lending.setAgencyName(this.getAgencyName()); } if (this.isset_departmentId) { dep_form_lending.setDepartmentId(this.getDepartmentId()); } if (this.isset_departmentName) { dep_form_lending.setDepartmentName(this.getDepartmentName()); } if (this.isset_beiz) { dep_form_lending.setBeiz(this.getBeiz()); } if (this.isset_uploadFiles) { dep_form_lending.setUploadFiles(this.getUploadFiles()); } if (this.isset_usingCount) { dep_form_lending.setUsingCount(this.getUsingCount()); } if (this.isset_warehouseId) { dep_form_lending.setWarehouseId(this.getWarehouseId()); } if (this.isset_warehouseName) { dep_form_lending.setWarehouseName(this.getWarehouseName()); } return dep_form_lending; } }