| | |
| | | import com.walker.jdbc.BasePo; |
| | | |
| | | /** |
| | | * 表名:DEP_FORM_SCRAPPED * |
| | | * 表名:DEP_FORM_SCRAPPED |
| | | * |
| | | * @author genrator |
| | | */ |
| | | @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) |
| | |
| | | @JsonIgnore |
| | | protected boolean isset_businessFormCode = false; |
| | | |
| | | private Long agencyId = null; |
| | | private String procureDoc = null; |
| | | @JsonIgnore |
| | | protected boolean isset_agencyId = false; |
| | | protected boolean isset_procureDoc = false; |
| | | |
| | | private String agencyName = null; |
| | | private Integer outWarehouseType = null; |
| | | @JsonIgnore |
| | | protected boolean isset_agencyName = false; |
| | | protected boolean isset_outWarehouseType = false; |
| | | |
| | | private Long outWarehouseId = null; |
| | | @JsonIgnore |
| | | protected boolean isset_outWarehouseId = false; |
| | | |
| | | private String outWarehouseName = null; |
| | | @JsonIgnore |
| | | protected boolean isset_outWarehouseName = false; |
| | | |
| | | private Long operatorId = null; |
| | | @JsonIgnore |
| | |
| | | @JsonIgnore |
| | | protected boolean isset_departmentName = false; |
| | | |
| | | private Long reviewerId = null; |
| | | private Long createTime = null; |
| | | @JsonIgnore |
| | | protected boolean isset_reviewerId = false; |
| | | protected boolean isset_createTime = false; |
| | | |
| | | private String reviewerName = null; |
| | | private Integer states = null; |
| | | @JsonIgnore |
| | | protected boolean isset_reviewerName = false; |
| | | |
| | | private Long reviewDate = null; |
| | | @JsonIgnore |
| | | protected boolean isset_reviewDate = false; |
| | | |
| | | private Integer reviewStates = null; |
| | | @JsonIgnore |
| | | protected boolean isset_reviewStates = false; |
| | | protected boolean isset_states = false; |
| | | |
| | | private String beiz = null; |
| | | @JsonIgnore |
| | | protected boolean isset_beiz = false; |
| | | |
| | | private String beiz2 = null; |
| | | @JsonIgnore |
| | | protected boolean isset_beiz2 = false; |
| | | |
| | | private String uploadFiles = null; |
| | | @JsonIgnore |
| | | protected boolean isset_uploadFiles = false; |
| | | |
| | | private Long warehouseId = null; |
| | | @JsonIgnore |
| | | protected boolean isset_warehouseId = false; |
| | | |
| | | private String warehouseName = null; |
| | | @JsonIgnore |
| | | protected boolean isset_warehouseName = false; |
| | | |
| | | /** |
| | | * 默认构造函数 |
| | |
| | | return this.businessFormCode == null || this.businessFormCode.length() == 0; |
| | | } |
| | | |
| | | public Long getAgencyId() { |
| | | return this.agencyId; |
| | | public String getProcureDoc() { |
| | | return this.procureDoc; |
| | | } |
| | | |
| | | public void setAgencyId(Long agencyId) { |
| | | this.agencyId = agencyId; |
| | | this.isset_agencyId = true; |
| | | public void setProcureDoc(String procureDoc) { |
| | | this.procureDoc = procureDoc; |
| | | this.isset_procureDoc = true; |
| | | } |
| | | |
| | | @JsonIgnore |
| | | public boolean isEmptyAgencyId() { |
| | | return this.agencyId == null; |
| | | public boolean isEmptyProcureDoc() { |
| | | return this.procureDoc == null || this.procureDoc.length() == 0; |
| | | } |
| | | |
| | | public String getAgencyName() { |
| | | return this.agencyName; |
| | | public Integer getOutWarehouseType() { |
| | | return this.outWarehouseType; |
| | | } |
| | | |
| | | public void setAgencyName(String agencyName) { |
| | | this.agencyName = agencyName; |
| | | this.isset_agencyName = true; |
| | | public void setOutWarehouseType(Integer outWarehouseType) { |
| | | this.outWarehouseType = outWarehouseType; |
| | | this.isset_outWarehouseType = true; |
| | | } |
| | | |
| | | @JsonIgnore |
| | | public boolean isEmptyAgencyName() { |
| | | return this.agencyName == null || this.agencyName.length() == 0; |
| | | public boolean isEmptyOutWarehouseType() { |
| | | return this.outWarehouseType == null; |
| | | } |
| | | |
| | | 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 getOperatorId() { |
| | |
| | | return this.departmentName == null; |
| | | } |
| | | |
| | | public Long getReviewerId() { |
| | | return this.reviewerId; |
| | | public Long getCreateTime() { |
| | | return this.createTime; |
| | | } |
| | | |
| | | public void setReviewerId(Long reviewerId) { |
| | | this.reviewerId = reviewerId; |
| | | this.isset_reviewerId = true; |
| | | public void setCreateTime(Long createTime) { |
| | | this.createTime = createTime; |
| | | this.isset_createTime = true; |
| | | } |
| | | |
| | | @JsonIgnore |
| | | public boolean isEmptyReviewerId() { |
| | | return this.reviewerId == null; |
| | | public boolean isEmptyCreateTime() { |
| | | return this.createTime == null; |
| | | } |
| | | |
| | | public String getReviewerName() { |
| | | return this.reviewerName; |
| | | public Integer getStates() { |
| | | return this.states; |
| | | } |
| | | |
| | | public void setReviewerName(String reviewerName) { |
| | | this.reviewerName = reviewerName; |
| | | this.isset_reviewerName = true; |
| | | public void setStates(Integer states) { |
| | | this.states = states; |
| | | this.isset_states = true; |
| | | } |
| | | |
| | | @JsonIgnore |
| | | public boolean isEmptyReviewerName() { |
| | | return this.reviewerName == null || this.reviewerName.length() == 0; |
| | | } |
| | | |
| | | public Long getReviewDate() { |
| | | return this.reviewDate; |
| | | } |
| | | |
| | | public void setReviewDate(Long reviewDate) { |
| | | this.reviewDate = reviewDate; |
| | | this.isset_reviewDate = true; |
| | | } |
| | | |
| | | @JsonIgnore |
| | | public boolean isEmptyReviewDate() { |
| | | return this.reviewDate == null; |
| | | } |
| | | |
| | | public Integer getReviewStates() { |
| | | return this.reviewStates; |
| | | } |
| | | |
| | | public void setReviewStates(Integer reviewStates) { |
| | | this.reviewStates = reviewStates; |
| | | this.isset_reviewStates = true; |
| | | } |
| | | |
| | | @JsonIgnore |
| | | public boolean isEmptyReviewStates() { |
| | | return this.reviewStates == null; |
| | | public boolean isEmptyStates() { |
| | | return this.states == null; |
| | | } |
| | | |
| | | public String getBeiz() { |
| | |
| | | return this.beiz == null || this.beiz.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 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 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() 方法 |
| | | */ |
| | |
| | | return new StringBuilder() |
| | | .append("id=").append(this.id) |
| | | .append("businessFormCode=").append(this.businessFormCode) |
| | | .append("agencyId=").append(this.agencyId) |
| | | .append("agencyName=").append(this.agencyName) |
| | | .append("procureDoc=").append(this.procureDoc) |
| | | .append("outWarehouseType=").append(this.outWarehouseType) |
| | | .append("outWarehouseId=").append(this.outWarehouseId) |
| | | .append("outWarehouseName=").append(this.outWarehouseName) |
| | | .append("operatorId=").append(this.operatorId) |
| | | .append("operatorName=").append(this.operatorName) |
| | | .append("dealTime=").append(this.dealTime) |
| | | .append("departmentId=").append(this.departmentId) |
| | | .append("departmentName=").append(this.departmentName) |
| | | .append("reviewerId=").append(this.reviewerId) |
| | | .append("reviewerName=").append(this.reviewerName) |
| | | .append("reviewDate=").append(this.reviewDate) |
| | | .append("reviewStates=").append(this.reviewStates) |
| | | .append("createTime=").append(this.createTime) |
| | | .append("states=").append(this.states) |
| | | .append("beiz=").append(this.beiz) |
| | | .append("beiz2=").append(this.beiz2) |
| | | .append("uploadFiles=").append(this.uploadFiles) |
| | | .append("warehouseId=").append(this.warehouseId) |
| | | .append("warehouseName=").append(this.warehouseName) |
| | | .toString(); |
| | | } |
| | | |
| | |
| | | * 克隆 |
| | | */ |
| | | public DepFormScrapped $clone() { |
| | | DepFormScrapped dep_form_scrapped = new DepFormScrapped(); |
| | | DepFormScrapped dep_form_scrapped = new DepFormScrapped(); |
| | | |
| | | // 数据库名称 |
| | | //dep_form_scrapped.setDatabaseName_(this.getDatabaseName_()); |
| | | |
| | | // 主键 |
| | | if (this.isset_id) { |
| | | dep_form_scrapped.setId(this.getId()); |
| | | dep_form_scrapped.setId(this.getId()); |
| | | } |
| | | // 普通属性 |
| | | if (this.isset_businessFormCode) { |
| | | dep_form_scrapped.setBusinessFormCode(this.getBusinessFormCode()); |
| | | dep_form_scrapped.setBusinessFormCode(this.getBusinessFormCode()); |
| | | } |
| | | if (this.isset_agencyId) { |
| | | dep_form_scrapped.setAgencyId(this.getAgencyId()); |
| | | if (this.isset_procureDoc) { |
| | | dep_form_scrapped.setProcureDoc(this.getProcureDoc()); |
| | | } |
| | | if (this.isset_agencyName) { |
| | | dep_form_scrapped.setAgencyName(this.getAgencyName()); |
| | | if (this.isset_outWarehouseType) { |
| | | dep_form_scrapped.setOutWarehouseType(this.getOutWarehouseType()); |
| | | } |
| | | if (this.isset_outWarehouseId) { |
| | | dep_form_scrapped.setOutWarehouseId(this.getOutWarehouseId()); |
| | | } |
| | | if (this.isset_outWarehouseName) { |
| | | dep_form_scrapped.setOutWarehouseName(this.getOutWarehouseName()); |
| | | } |
| | | if (this.isset_operatorId) { |
| | | dep_form_scrapped.setOperatorId(this.getOperatorId()); |
| | | dep_form_scrapped.setOperatorId(this.getOperatorId()); |
| | | } |
| | | if (this.isset_operatorName) { |
| | | dep_form_scrapped.setOperatorName(this.getOperatorName()); |
| | | dep_form_scrapped.setOperatorName(this.getOperatorName()); |
| | | } |
| | | if (this.isset_dealTime) { |
| | | dep_form_scrapped.setDealTime(this.getDealTime()); |
| | | dep_form_scrapped.setDealTime(this.getDealTime()); |
| | | } |
| | | if (this.isset_departmentId) { |
| | | dep_form_scrapped.setDepartmentId(this.getDepartmentId()); |
| | | dep_form_scrapped.setDepartmentId(this.getDepartmentId()); |
| | | } |
| | | if (this.isset_departmentName) { |
| | | dep_form_scrapped.setDepartmentName(this.getDepartmentName()); |
| | | dep_form_scrapped.setDepartmentName(this.getDepartmentName()); |
| | | } |
| | | if (this.isset_reviewerId) { |
| | | dep_form_scrapped.setReviewerId(this.getReviewerId()); |
| | | if (this.isset_createTime) { |
| | | dep_form_scrapped.setCreateTime(this.getCreateTime()); |
| | | } |
| | | if (this.isset_reviewerName) { |
| | | dep_form_scrapped.setReviewerName(this.getReviewerName()); |
| | | } |
| | | if (this.isset_reviewDate) { |
| | | dep_form_scrapped.setReviewDate(this.getReviewDate()); |
| | | } |
| | | if (this.isset_reviewStates) { |
| | | dep_form_scrapped.setReviewStates(this.getReviewStates()); |
| | | if (this.isset_states) { |
| | | dep_form_scrapped.setStates(this.getStates()); |
| | | } |
| | | if (this.isset_beiz) { |
| | | dep_form_scrapped.setBeiz(this.getBeiz()); |
| | | } |
| | | if (this.isset_beiz2) { |
| | | dep_form_scrapped.setBeiz2(this.getBeiz2()); |
| | | } |
| | | if (this.isset_uploadFiles) { |
| | | dep_form_scrapped.setUploadFiles(this.getUploadFiles()); |
| | | } |
| | | if (this.isset_warehouseId) { |
| | | dep_form_scrapped.setWarehouseId(this.getWarehouseId()); |
| | | } |
| | | if (this.isset_warehouseName) { |
| | | dep_form_scrapped.setWarehouseName(this.getWarehouseName()); |
| | | dep_form_scrapped.setBeiz(this.getBeiz()); |
| | | } |
| | | return dep_form_scrapped; |
| | | } |