From 2ab61832f8b85c30958e37215f4daa579e7fa354 Mon Sep 17 00:00:00 2001 From: 杨凯 <398860375@qq.com> Date: 星期三, 18 十月 2023 13:08:28 +0800 Subject: [PATCH] 新增PO --- consum-model-pojo/src/main/java/com/consum/model/po/WhGoods_mapper.java | 18 consum-model-pojo/src/main/java/com/consum/model/po/DepFormLendingModel.java | 304 ++++++++ consum-model-pojo/src/main/java/com/consum/model/po/WhWarningConfig.java | 216 ++++++ consum-model-pojo/src/main/java/com/consum/model/po/UsingGoodsHis.java | 282 ++++++++ consum-model-pojo/src/main/java/com/consum/model/po/DepFormLending.java | 392 +++++++++++ consum-model-pojo/src/main/java/com/consum/model/po/WhWarning.java | 480 ++++++++++++++ consum-model-pojo/src/main/java/com/consum/model/po/DepFormLendingGoods.java | 326 +++++++++ 7 files changed, 2,000 insertions(+), 18 deletions(-) diff --git a/consum-model-pojo/src/main/java/com/consum/model/po/DepFormLending.java b/consum-model-pojo/src/main/java/com/consum/model/po/DepFormLending.java new file mode 100644 index 0000000..1a0ea7a --- /dev/null +++ b/consum-model-pojo/src/main/java/com/consum/model/po/DepFormLending.java @@ -0,0 +1,392 @@ + +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<DepFormLending> { + // 搴忓垪鍖栫増鏈彿 + 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 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 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 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 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("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("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_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_warehouseId) { + dep_form_lending.setWarehouseId(this.getWarehouseId()); + } + if (this.isset_warehouseName) { + dep_form_lending.setWarehouseName(this.getWarehouseName()); + } + return dep_form_lending; + } +} diff --git a/consum-model-pojo/src/main/java/com/consum/model/po/DepFormLendingGoods.java b/consum-model-pojo/src/main/java/com/consum/model/po/DepFormLendingGoods.java new file mode 100644 index 0000000..1208128 --- /dev/null +++ b/consum-model-pojo/src/main/java/com/consum/model/po/DepFormLendingGoods.java @@ -0,0 +1,326 @@ + +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_GOODS * + * @author genrator + */ +@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) +public class DepFormLendingGoods extends BasePo<DepFormLendingGoods> { + // 搴忓垪鍖栫増鏈彿 + private static final long serialVersionUID = 1L; + + // 涓婚敭 + private Long id = null; + @JsonIgnore + protected boolean isset_id = false; + + // 灞炴�у垪琛� + private String classification = null; + @JsonIgnore + protected boolean isset_classification = false; + + private Long baseGoodsTemplateId = null; + @JsonIgnore + protected boolean isset_baseGoodsTemplateId = false; + + private String baseGoodsTemplateName = null; + @JsonIgnore + protected boolean isset_baseGoodsTemplateName = false; + + private Long depFormLendingId = null; + @JsonIgnore + protected boolean isset_depFormLendingId = false; + + private String unit = null; + @JsonIgnore + protected boolean isset_unit = false; + + private Long baseGoodsModelsId = null; + @JsonIgnore + protected boolean isset_baseGoodsModelsId = false; + + private String baseGoodsModelsName = null; + @JsonIgnore + protected boolean isset_baseGoodsModelsName = false; + + private Integer counts = null; + @JsonIgnore + protected boolean isset_counts = false; + + private Long goodsUserPhone = null; + @JsonIgnore + protected boolean isset_goodsUserPhone = false; + + private String goodsUserName = null; + @JsonIgnore + protected boolean isset_goodsUserName = false; + + private Integer usingCount = null; + @JsonIgnore + protected boolean isset_usingCount = false; + + /** + * 榛樿鏋勯�犲嚱鏁� + */ + public DepFormLendingGoods() { + } + + /** + * 鏍规嵁涓婚敭鏋勯�犲璞� + */ + public DepFormLendingGoods(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 getClassification() { + return this.classification; + } + + public void setClassification(String classification) { + this.classification = classification; + this.isset_classification = true; + } + + @JsonIgnore + public boolean isEmptyClassification() { + return this.classification == null || this.classification.length() == 0; + } + + public Long getBaseGoodsTemplateId() { + return this.baseGoodsTemplateId; + } + + public void setBaseGoodsTemplateId(Long baseGoodsTemplateId) { + this.baseGoodsTemplateId = baseGoodsTemplateId; + this.isset_baseGoodsTemplateId = true; + } + + @JsonIgnore + public boolean isEmptyBaseGoodsTemplateId() { + return this.baseGoodsTemplateId == null; + } + + public String getBaseGoodsTemplateName() { + return this.baseGoodsTemplateName; + } + + public void setBaseGoodsTemplateName(String baseGoodsTemplateName) { + this.baseGoodsTemplateName = baseGoodsTemplateName; + this.isset_baseGoodsTemplateName = true; + } + + @JsonIgnore + public boolean isEmptyBaseGoodsTemplateName() { + return this.baseGoodsTemplateName == null || this.baseGoodsTemplateName.length() == 0; + } + + public Long getDepFormLendingId() { + return this.depFormLendingId; + } + + public void setDepFormLendingId(Long depFormLendingId) { + this.depFormLendingId = depFormLendingId; + this.isset_depFormLendingId = true; + } + + @JsonIgnore + public boolean isEmptyDepFormLendingId() { + return this.depFormLendingId == null; + } + + public String getUnit() { + return this.unit; + } + + public void setUnit(String unit) { + this.unit = unit; + this.isset_unit = true; + } + + @JsonIgnore + public boolean isEmptyUnit() { + return this.unit == null || this.unit.length() == 0; + } + + public Long getBaseGoodsModelsId() { + return this.baseGoodsModelsId; + } + + public void setBaseGoodsModelsId(Long baseGoodsModelsId) { + this.baseGoodsModelsId = baseGoodsModelsId; + this.isset_baseGoodsModelsId = true; + } + + @JsonIgnore + public boolean isEmptyBaseGoodsModelsId() { + return this.baseGoodsModelsId == null; + } + + public String getBaseGoodsModelsName() { + return this.baseGoodsModelsName; + } + + public void setBaseGoodsModelsName(String baseGoodsModelsName) { + this.baseGoodsModelsName = baseGoodsModelsName; + this.isset_baseGoodsModelsName = true; + } + + @JsonIgnore + public boolean isEmptyBaseGoodsModelsName() { + return this.baseGoodsModelsName == null || this.baseGoodsModelsName.length() == 0; + } + + public Integer getCounts() { + return this.counts; + } + + public void setCounts(Integer counts) { + this.counts = counts; + this.isset_counts = true; + } + + @JsonIgnore + public boolean isEmptyCounts() { + return this.counts == null; + } + + public Long getGoodsUserPhone() { + return this.goodsUserPhone; + } + + public void setGoodsUserPhone(Long goodsUserPhone) { + this.goodsUserPhone = goodsUserPhone; + this.isset_goodsUserPhone = true; + } + + @JsonIgnore + public boolean isEmptyGoodsUserPhone() { + return this.goodsUserPhone == null; + } + + public String getGoodsUserName() { + return this.goodsUserName; + } + + public void setGoodsUserName(String goodsUserName) { + this.goodsUserName = goodsUserName; + this.isset_goodsUserName = true; + } + + @JsonIgnore + public boolean isEmptyGoodsUserName() { + return this.goodsUserName == null || this.goodsUserName.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; + } + + /** + * 閲嶅啓 toString() 鏂规硶 + */ + @Override + public String toString() { + return new StringBuilder() + .append("id=").append(this.id) + .append("classification=").append(this.classification) + .append("baseGoodsTemplateId=").append(this.baseGoodsTemplateId) + .append("baseGoodsTemplateName=").append(this.baseGoodsTemplateName) + .append("depFormLendingId=").append(this.depFormLendingId) + .append("unit=").append(this.unit) + .append("baseGoodsModelsId=").append(this.baseGoodsModelsId) + .append("baseGoodsModelsName=").append(this.baseGoodsModelsName) + .append("counts=").append(this.counts) + .append("goodsUserPhone=").append(this.goodsUserPhone) + .append("goodsUserName=").append(this.goodsUserName) + .append("usingCount=").append(this.usingCount) + .toString(); + } + + /** + * 鍏嬮殕 + */ + public DepFormLendingGoods $clone() { + DepFormLendingGoods dep_form_lending_goods = new DepFormLendingGoods(); + + // 鏁版嵁搴撳悕绉� + //dep_form_lending_goods.setDatabaseName_(this.getDatabaseName_()); + + // 涓婚敭 + if (this.isset_id) { + dep_form_lending_goods.setId(this.getId()); + } + // 鏅�氬睘鎬� + if (this.isset_classification) { + dep_form_lending_goods.setClassification(this.getClassification()); + } + if (this.isset_baseGoodsTemplateId) { + dep_form_lending_goods.setBaseGoodsTemplateId(this.getBaseGoodsTemplateId()); + } + if (this.isset_baseGoodsTemplateName) { + dep_form_lending_goods.setBaseGoodsTemplateName(this.getBaseGoodsTemplateName()); + } + if (this.isset_depFormLendingId) { + dep_form_lending_goods.setDepFormLendingId(this.getDepFormLendingId()); + } + if (this.isset_unit) { + dep_form_lending_goods.setUnit(this.getUnit()); + } + if (this.isset_baseGoodsModelsId) { + dep_form_lending_goods.setBaseGoodsModelsId(this.getBaseGoodsModelsId()); + } + if (this.isset_baseGoodsModelsName) { + dep_form_lending_goods.setBaseGoodsModelsName(this.getBaseGoodsModelsName()); + } + if (this.isset_counts) { + dep_form_lending_goods.setCounts(this.getCounts()); + } + if (this.isset_goodsUserPhone) { + dep_form_lending_goods.setGoodsUserPhone(this.getGoodsUserPhone()); + } + if (this.isset_goodsUserName) { + dep_form_lending_goods.setGoodsUserName(this.getGoodsUserName()); + } + if (this.isset_usingCount) { + dep_form_lending_goods.setUsingCount(this.getUsingCount()); + } + return dep_form_lending_goods; + } +} diff --git a/consum-model-pojo/src/main/java/com/consum/model/po/DepFormLendingModel.java b/consum-model-pojo/src/main/java/com/consum/model/po/DepFormLendingModel.java new file mode 100644 index 0000000..be81290 --- /dev/null +++ b/consum-model-pojo/src/main/java/com/consum/model/po/DepFormLendingModel.java @@ -0,0 +1,304 @@ + +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_MODEL * + * @author genrator + */ +@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) +public class DepFormLendingModel extends BasePo<DepFormLendingModel> { + // 搴忓垪鍖栫増鏈彿 + private static final long serialVersionUID = 1L; + + // 涓婚敭 + private Long id = null; + @JsonIgnore + protected boolean isset_id = false; + + // 灞炴�у垪琛� + private Integer counts = null; + @JsonIgnore + protected boolean isset_counts = false; + + private Long depFormLendingGoodsId = null; + @JsonIgnore + protected boolean isset_depFormLendingGoodsId = false; + + private Long depFormLendingId = null; + @JsonIgnore + protected boolean isset_depFormLendingId = false; + + private Long depGoodsDetailsId = null; + @JsonIgnore + protected boolean isset_depGoodsDetailsId = false; + + private Long goodsUserPhone = null; + @JsonIgnore + protected boolean isset_goodsUserPhone = false; + + private String goodsUserName = null; + @JsonIgnore + protected boolean isset_goodsUserName = false; + + private Long nowUserPhone = null; + @JsonIgnore + protected boolean isset_nowUserPhone = false; + + private String nowUserName = null; + @JsonIgnore + protected boolean isset_nowUserName = false; + + private String beiz = null; + @JsonIgnore + protected boolean isset_beiz = false; + + private Long whGoodsId = null; + @JsonIgnore + protected boolean isset_whGoodsId = false; + + /** + * 榛樿鏋勯�犲嚱鏁� + */ + public DepFormLendingModel() { + } + + /** + * 鏍规嵁涓婚敭鏋勯�犲璞� + */ + public DepFormLendingModel(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 Integer getCounts() { + return this.counts; + } + + public void setCounts(Integer counts) { + this.counts = counts; + this.isset_counts = true; + } + + @JsonIgnore + public boolean isEmptyCounts() { + return this.counts == null; + } + + public Long getDepFormLendingGoodsId() { + return this.depFormLendingGoodsId; + } + + public void setDepFormLendingGoodsId(Long depFormLendingGoodsId) { + this.depFormLendingGoodsId = depFormLendingGoodsId; + this.isset_depFormLendingGoodsId = true; + } + + @JsonIgnore + public boolean isEmptyDepFormLendingGoodsId() { + return this.depFormLendingGoodsId == null; + } + + public Long getDepFormLendingId() { + return this.depFormLendingId; + } + + public void setDepFormLendingId(Long depFormLendingId) { + this.depFormLendingId = depFormLendingId; + this.isset_depFormLendingId = true; + } + + @JsonIgnore + public boolean isEmptyDepFormLendingId() { + return this.depFormLendingId == null; + } + + public Long getDepGoodsDetailsId() { + return this.depGoodsDetailsId; + } + + public void setDepGoodsDetailsId(Long depGoodsDetailsId) { + this.depGoodsDetailsId = depGoodsDetailsId; + this.isset_depGoodsDetailsId = true; + } + + @JsonIgnore + public boolean isEmptyDepGoodsDetailsId() { + return this.depGoodsDetailsId == null; + } + + public Long getGoodsUserPhone() { + return this.goodsUserPhone; + } + + public void setGoodsUserPhone(Long goodsUserPhone) { + this.goodsUserPhone = goodsUserPhone; + this.isset_goodsUserPhone = true; + } + + @JsonIgnore + public boolean isEmptyGoodsUserPhone() { + return this.goodsUserPhone == null; + } + + public String getGoodsUserName() { + return this.goodsUserName; + } + + public void setGoodsUserName(String goodsUserName) { + this.goodsUserName = goodsUserName; + this.isset_goodsUserName = true; + } + + @JsonIgnore + public boolean isEmptyGoodsUserName() { + return this.goodsUserName == null || this.goodsUserName.length() == 0; + } + + public Long getNowUserPhone() { + return this.nowUserPhone; + } + + public void setNowUserPhone(Long nowUserPhone) { + this.nowUserPhone = nowUserPhone; + this.isset_nowUserPhone = true; + } + + @JsonIgnore + public boolean isEmptyNowUserPhone() { + return this.nowUserPhone == null; + } + + public String getNowUserName() { + return this.nowUserName; + } + + public void setNowUserName(String nowUserName) { + this.nowUserName = nowUserName; + this.isset_nowUserName = true; + } + + @JsonIgnore + public boolean isEmptyNowUserName() { + return this.nowUserName == null || this.nowUserName.length() == 0; + } + + 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 Long getWhGoodsId() { + return this.whGoodsId; + } + + public void setWhGoodsId(Long whGoodsId) { + this.whGoodsId = whGoodsId; + this.isset_whGoodsId = true; + } + + @JsonIgnore + public boolean isEmptyWhGoodsId() { + return this.whGoodsId == null; + } + + /** + * 閲嶅啓 toString() 鏂规硶 + */ + @Override + public String toString() { + return new StringBuilder() + .append("id=").append(this.id) + .append("counts=").append(this.counts) + .append("depFormLendingGoodsId=").append(this.depFormLendingGoodsId) + .append("depFormLendingId=").append(this.depFormLendingId) + .append("depGoodsDetailsId=").append(this.depGoodsDetailsId) + .append("goodsUserPhone=").append(this.goodsUserPhone) + .append("goodsUserName=").append(this.goodsUserName) + .append("nowUserPhone=").append(this.nowUserPhone) + .append("nowUserName=").append(this.nowUserName) + .append("beiz=").append(this.beiz) + .append("whGoodsId=").append(this.whGoodsId) + .toString(); + } + + /** + * 鍏嬮殕 + */ + public DepFormLendingModel $clone() { + DepFormLendingModel dep_form_lending_model = new DepFormLendingModel(); + + // 鏁版嵁搴撳悕绉� + //dep_form_lending_model.setDatabaseName_(this.getDatabaseName_()); + + // 涓婚敭 + if (this.isset_id) { + dep_form_lending_model.setId(this.getId()); + } + // 鏅�氬睘鎬� + if (this.isset_counts) { + dep_form_lending_model.setCounts(this.getCounts()); + } + if (this.isset_depFormLendingGoodsId) { + dep_form_lending_model.setDepFormLendingGoodsId(this.getDepFormLendingGoodsId()); + } + if (this.isset_depFormLendingId) { + dep_form_lending_model.setDepFormLendingId(this.getDepFormLendingId()); + } + if (this.isset_depGoodsDetailsId) { + dep_form_lending_model.setDepGoodsDetailsId(this.getDepGoodsDetailsId()); + } + if (this.isset_goodsUserPhone) { + dep_form_lending_model.setGoodsUserPhone(this.getGoodsUserPhone()); + } + if (this.isset_goodsUserName) { + dep_form_lending_model.setGoodsUserName(this.getGoodsUserName()); + } + if (this.isset_nowUserPhone) { + dep_form_lending_model.setNowUserPhone(this.getNowUserPhone()); + } + if (this.isset_nowUserName) { + dep_form_lending_model.setNowUserName(this.getNowUserName()); + } + if (this.isset_beiz) { + dep_form_lending_model.setBeiz(this.getBeiz()); + } + if (this.isset_whGoodsId) { + dep_form_lending_model.setWhGoodsId(this.getWhGoodsId()); + } + return dep_form_lending_model; + } +} diff --git a/consum-model-pojo/src/main/java/com/consum/model/po/UsingGoodsHis.java b/consum-model-pojo/src/main/java/com/consum/model/po/UsingGoodsHis.java new file mode 100644 index 0000000..b21e30e --- /dev/null +++ b/consum-model-pojo/src/main/java/com/consum/model/po/UsingGoodsHis.java @@ -0,0 +1,282 @@ + +package com.consum.model.po; + +import com.fasterxml.jackson.annotation.JsonAutoDetect; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.walker.jdbc.BasePo; + +/** + * 琛ㄥ悕:USING_GOODS_HIS * + * @author genrator + */ +@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) +public class UsingGoodsHis extends BasePo<UsingGoodsHis> { + // 搴忓垪鍖栫増鏈彿 + private static final long serialVersionUID = 1L; + + // 涓婚敭 + private Long id = null; + @JsonIgnore + protected boolean isset_id = false; + + // 灞炴�у垪琛� + private Long goodsUserPhone = null; + @JsonIgnore + protected boolean isset_goodsUserPhone = false; + + private String goodsUserName = null; + @JsonIgnore + protected boolean isset_goodsUserName = false; + + private Long nowUserPhone = null; + @JsonIgnore + protected boolean isset_nowUserPhone = false; + + private String nowUserName = null; + @JsonIgnore + protected boolean isset_nowUserName = false; + + private String beiz = null; + @JsonIgnore + protected boolean isset_beiz = false; + + private Long depFormLendingModelId = null; + @JsonIgnore + protected boolean isset_depFormLendingModelId = 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; + + /** + * 榛樿鏋勯�犲嚱鏁� + */ + public UsingGoodsHis() { + } + + /** + * 鏍规嵁涓婚敭鏋勯�犲璞� + */ + public UsingGoodsHis(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 getGoodsUserPhone() { + return this.goodsUserPhone; + } + + public void setGoodsUserPhone(Long goodsUserPhone) { + this.goodsUserPhone = goodsUserPhone; + this.isset_goodsUserPhone = true; + } + + @JsonIgnore + public boolean isEmptyGoodsUserPhone() { + return this.goodsUserPhone == null; + } + + public String getGoodsUserName() { + return this.goodsUserName; + } + + public void setGoodsUserName(String goodsUserName) { + this.goodsUserName = goodsUserName; + this.isset_goodsUserName = true; + } + + @JsonIgnore + public boolean isEmptyGoodsUserName() { + return this.goodsUserName == null || this.goodsUserName.length() == 0; + } + + public Long getNowUserPhone() { + return this.nowUserPhone; + } + + public void setNowUserPhone(Long nowUserPhone) { + this.nowUserPhone = nowUserPhone; + this.isset_nowUserPhone = true; + } + + @JsonIgnore + public boolean isEmptyNowUserPhone() { + return this.nowUserPhone == null; + } + + public String getNowUserName() { + return this.nowUserName; + } + + public void setNowUserName(String nowUserName) { + this.nowUserName = nowUserName; + this.isset_nowUserName = true; + } + + @JsonIgnore + public boolean isEmptyNowUserName() { + return this.nowUserName == null || this.nowUserName.length() == 0; + } + + 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 Long getDepFormLendingModelId() { + return this.depFormLendingModelId; + } + + public void setDepFormLendingModelId(Long depFormLendingModelId) { + this.depFormLendingModelId = depFormLendingModelId; + this.isset_depFormLendingModelId = true; + } + + @JsonIgnore + public boolean isEmptyDepFormLendingModelId() { + return this.depFormLendingModelId == null; + } + + 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; + } + + /** + * 閲嶅啓 toString() 鏂规硶 + */ + @Override + public String toString() { + return new StringBuilder() + .append("id=").append(this.id) + .append("goodsUserPhone=").append(this.goodsUserPhone) + .append("goodsUserName=").append(this.goodsUserName) + .append("nowUserPhone=").append(this.nowUserPhone) + .append("nowUserName=").append(this.nowUserName) + .append("beiz=").append(this.beiz) + .append("depFormLendingModelId=").append(this.depFormLendingModelId) + .append("operatorId=").append(this.operatorId) + .append("operatorName=").append(this.operatorName) + .append("dealTime=").append(this.dealTime) + .toString(); + } + + /** + * 鍏嬮殕 + */ + public UsingGoodsHis $clone() { + UsingGoodsHis using_goods_his = new UsingGoodsHis(); + + // 鏁版嵁搴撳悕绉� + //using_goods_his.setDatabaseName_(this.getDatabaseName_()); + + // 涓婚敭 + if (this.isset_id) { + using_goods_his.setId(this.getId()); + } + // 鏅�氬睘鎬� + if (this.isset_goodsUserPhone) { + using_goods_his.setGoodsUserPhone(this.getGoodsUserPhone()); + } + if (this.isset_goodsUserName) { + using_goods_his.setGoodsUserName(this.getGoodsUserName()); + } + if (this.isset_nowUserPhone) { + using_goods_his.setNowUserPhone(this.getNowUserPhone()); + } + if (this.isset_nowUserName) { + using_goods_his.setNowUserName(this.getNowUserName()); + } + if (this.isset_beiz) { + using_goods_his.setBeiz(this.getBeiz()); + } + if (this.isset_depFormLendingModelId) { + using_goods_his.setDepFormLendingModelId(this.getDepFormLendingModelId()); + } + if (this.isset_operatorId) { + using_goods_his.setOperatorId(this.getOperatorId()); + } + if (this.isset_operatorName) { + using_goods_his.setOperatorName(this.getOperatorName()); + } + if (this.isset_dealTime) { + using_goods_his.setDealTime(this.getDealTime()); + } + return using_goods_his; + } +} diff --git a/consum-model-pojo/src/main/java/com/consum/model/po/WhGoods_mapper.java b/consum-model-pojo/src/main/java/com/consum/model/po/WhGoods_mapper.java index 4807789..08d3226 100644 --- a/consum-model-pojo/src/main/java/com/consum/model/po/WhGoods_mapper.java +++ b/consum-model-pojo/src/main/java/com/consum/model/po/WhGoods_mapper.java @@ -74,12 +74,6 @@ if (whGoods.isset_whCount) { this.setWhCount(whGoods.getWhCount()); } - if (whGoods.isset_transferCount) { - this.setTransferCount(whGoods.getTransferCount()); - } - if (whGoods.isset_allCount) { - this.setAllCount(whGoods.getAllCount()); - } if (whGoods.isset_firstInputCode) { this.setFirstInputCode(whGoods.getFirstInputCode()); } @@ -161,8 +155,6 @@ ib.set(BaseGoodsModelsId, this.getBaseGoodsModelsId(), this.isset_baseGoodsModelsId); ib.set(BaseGoodsModelsName, this.getBaseGoodsModelsName(), this.isset_baseGoodsModelsName); ib.set(WhCount, this.getWhCount(), this.isset_whCount); - ib.set(TransferCount, this.getTransferCount(), this.isset_transferCount); - ib.set(AllCount, this.getAllCount(), this.isset_allCount); ib.set(FirstInputCode, this.getFirstInputCode(), this.isset_firstInputCode); ib.set(FirstInputType, this.getFirstInputType(), this.isset_firstInputType); ib.set(FirstInputHisId, this.getFirstInputHisId(), this.isset_firstInputHisId); @@ -188,8 +180,6 @@ ub.set(BaseGoodsModelsId, this.getBaseGoodsModelsId(), this.isset_baseGoodsModelsId); ub.set(BaseGoodsModelsName, this.getBaseGoodsModelsName(), this.isset_baseGoodsModelsName); ub.set(WhCount, this.getWhCount(), this.isset_whCount); - ub.set(TransferCount, this.getTransferCount(), this.isset_transferCount); - ub.set(AllCount, this.getAllCount(), this.isset_allCount); ub.set(FirstInputCode, this.getFirstInputCode(), this.isset_firstInputCode); ub.set(FirstInputType, this.getFirstInputType(), this.isset_firstInputType); ub.set(FirstInputHisId, this.getFirstInputHisId(), this.isset_firstInputHisId); @@ -216,8 +206,6 @@ ub.set(BaseGoodsModelsId, this.getBaseGoodsModelsId(), this.isset_baseGoodsModelsId); ub.set(BaseGoodsModelsName, this.getBaseGoodsModelsName(), this.isset_baseGoodsModelsName); ub.set(WhCount, this.getWhCount(), this.isset_whCount); - ub.set(TransferCount, this.getTransferCount(), this.isset_transferCount); - ub.set(AllCount, this.getAllCount(), this.isset_allCount); ub.set(FirstInputCode, this.getFirstInputCode(), this.isset_firstInputCode); ub.set(FirstInputType, this.getFirstInputType(), this.isset_firstInputType); ub.set(FirstInputHisId, this.getFirstInputHisId(), this.isset_firstInputHisId); @@ -243,8 +231,6 @@ ub.set(BaseGoodsModelsId, this.getBaseGoodsModelsId(), this.isset_baseGoodsModelsId); ub.set(BaseGoodsModelsName, this.getBaseGoodsModelsName(), this.isset_baseGoodsModelsName); ub.set(WhCount, this.getWhCount(), this.isset_whCount); - ub.set(TransferCount, this.getTransferCount(), this.isset_transferCount); - ub.set(AllCount, this.getAllCount(), this.isset_allCount); ub.set(FirstInputCode, this.getFirstInputCode(), this.isset_firstInputCode); ub.set(FirstInputType, this.getFirstInputType(), this.isset_firstInputType); ub.set(FirstInputHisId, this.getFirstInputHisId(), this.isset_firstInputHisId); @@ -383,17 +369,13 @@ columnIndex = resultSetUtils.findColumn(rs, WhGoods_mapper.TransferCount); if (columnIndex > 0) { if (rs.getBigDecimal(columnIndex) == null) { - wh_goods.setTransferCount(null); } else { - wh_goods.setTransferCount(rs.getInt(columnIndex)); } } columnIndex = resultSetUtils.findColumn(rs, WhGoods_mapper.AllCount); if (columnIndex > 0) { if (rs.getBigDecimal(columnIndex) == null) { - wh_goods.setAllCount(null); } else { - wh_goods.setAllCount(rs.getInt(columnIndex)); } } columnIndex = resultSetUtils.findColumn(rs, WhGoods_mapper.FirstInputCode); diff --git a/consum-model-pojo/src/main/java/com/consum/model/po/WhWarning.java b/consum-model-pojo/src/main/java/com/consum/model/po/WhWarning.java new file mode 100644 index 0000000..81d4800 --- /dev/null +++ b/consum-model-pojo/src/main/java/com/consum/model/po/WhWarning.java @@ -0,0 +1,480 @@ + +package com.consum.model.po; + +import com.fasterxml.jackson.annotation.JsonAutoDetect; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.walker.jdbc.BasePo; + +/** + * 琛ㄥ悕:WH_WARNING * + * @author genrator + */ +@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) +public class WhWarning extends BasePo<WhWarning> { + // 搴忓垪鍖栫増鏈彿 + private static final long serialVersionUID = 1L; + + // 涓婚敭 + private Long id = null; + @JsonIgnore + protected boolean isset_id = false; + + // 灞炴�у垪琛� + private Long baseWarehouseId = null; + @JsonIgnore + protected boolean isset_baseWarehouseId = false; + + private String baseWarehouseName = null; + @JsonIgnore + protected boolean isset_baseWarehouseName = false; + + private Long baseGoodsTemplateId = null; + @JsonIgnore + protected boolean isset_baseGoodsTemplateId = false; + + private String baseGoodsTemplateName = null; + @JsonIgnore + protected boolean isset_baseGoodsTemplateName = false; + + private Long baseGoodsModelsId = null; + @JsonIgnore + protected boolean isset_baseGoodsModelsId = false; + + private String baseGoodsModelsName = null; + @JsonIgnore + protected boolean isset_baseGoodsModelsName = false; + + private Integer goodsType = null; + @JsonIgnore + protected boolean isset_goodsType = false; + + private Integer warningType = null; + @JsonIgnore + protected boolean isset_warningType = false; + + private Integer upperLimit = null; + @JsonIgnore + protected boolean isset_upperLimit = false; + + private Integer lowerLimit = null; + @JsonIgnore + protected boolean isset_lowerLimit = false; + + private Integer warehouseCount = null; + @JsonIgnore + protected boolean isset_warehouseCount = false; + + private Long warningTime = null; + @JsonIgnore + protected boolean isset_warningTime = false; + + private Integer states = null; + @JsonIgnore + protected boolean isset_states = 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 Long agencyId = null; + @JsonIgnore + protected boolean isset_agencyId = false; + + private String agencyName = null; + @JsonIgnore + protected boolean isset_agencyName = false; + + /** + * 榛樿鏋勯�犲嚱鏁� + */ + public WhWarning() { + } + + /** + * 鏍规嵁涓婚敭鏋勯�犲璞� + */ + public WhWarning(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 getBaseWarehouseId() { + return this.baseWarehouseId; + } + + public void setBaseWarehouseId(Long baseWarehouseId) { + this.baseWarehouseId = baseWarehouseId; + this.isset_baseWarehouseId = true; + } + + @JsonIgnore + public boolean isEmptyBaseWarehouseId() { + return this.baseWarehouseId == null; + } + + public String getBaseWarehouseName() { + return this.baseWarehouseName; + } + + public void setBaseWarehouseName(String baseWarehouseName) { + this.baseWarehouseName = baseWarehouseName; + this.isset_baseWarehouseName = true; + } + + @JsonIgnore + public boolean isEmptyBaseWarehouseName() { + return this.baseWarehouseName == null || this.baseWarehouseName.length() == 0; + } + + public Long getBaseGoodsTemplateId() { + return this.baseGoodsTemplateId; + } + + public void setBaseGoodsTemplateId(Long baseGoodsTemplateId) { + this.baseGoodsTemplateId = baseGoodsTemplateId; + this.isset_baseGoodsTemplateId = true; + } + + @JsonIgnore + public boolean isEmptyBaseGoodsTemplateId() { + return this.baseGoodsTemplateId == null; + } + + public String getBaseGoodsTemplateName() { + return this.baseGoodsTemplateName; + } + + public void setBaseGoodsTemplateName(String baseGoodsTemplateName) { + this.baseGoodsTemplateName = baseGoodsTemplateName; + this.isset_baseGoodsTemplateName = true; + } + + @JsonIgnore + public boolean isEmptyBaseGoodsTemplateName() { + return this.baseGoodsTemplateName == null || this.baseGoodsTemplateName.length() == 0; + } + + public Long getBaseGoodsModelsId() { + return this.baseGoodsModelsId; + } + + public void setBaseGoodsModelsId(Long baseGoodsModelsId) { + this.baseGoodsModelsId = baseGoodsModelsId; + this.isset_baseGoodsModelsId = true; + } + + @JsonIgnore + public boolean isEmptyBaseGoodsModelsId() { + return this.baseGoodsModelsId == null; + } + + public String getBaseGoodsModelsName() { + return this.baseGoodsModelsName; + } + + public void setBaseGoodsModelsName(String baseGoodsModelsName) { + this.baseGoodsModelsName = baseGoodsModelsName; + this.isset_baseGoodsModelsName = true; + } + + @JsonIgnore + public boolean isEmptyBaseGoodsModelsName() { + return this.baseGoodsModelsName == null || this.baseGoodsModelsName.length() == 0; + } + + public Integer getGoodsType() { + return this.goodsType; + } + + public void setGoodsType(Integer goodsType) { + this.goodsType = goodsType; + this.isset_goodsType = true; + } + + @JsonIgnore + public boolean isEmptyGoodsType() { + return this.goodsType == null; + } + + public Integer getWarningType() { + return this.warningType; + } + + public void setWarningType(Integer warningType) { + this.warningType = warningType; + this.isset_warningType = true; + } + + @JsonIgnore + public boolean isEmptyWarningType() { + return this.warningType == null; + } + + public Integer getUpperLimit() { + return this.upperLimit; + } + + public void setUpperLimit(Integer upperLimit) { + this.upperLimit = upperLimit; + this.isset_upperLimit = true; + } + + @JsonIgnore + public boolean isEmptyUpperLimit() { + return this.upperLimit == null; + } + + public Integer getLowerLimit() { + return this.lowerLimit; + } + + public void setLowerLimit(Integer lowerLimit) { + this.lowerLimit = lowerLimit; + this.isset_lowerLimit = true; + } + + @JsonIgnore + public boolean isEmptyLowerLimit() { + return this.lowerLimit == null; + } + + public Integer getWarehouseCount() { + return this.warehouseCount; + } + + public void setWarehouseCount(Integer warehouseCount) { + this.warehouseCount = warehouseCount; + this.isset_warehouseCount = true; + } + + @JsonIgnore + public boolean isEmptyWarehouseCount() { + return this.warehouseCount == null; + } + + public Long getWarningTime() { + return this.warningTime; + } + + public void setWarningTime(Long warningTime) { + this.warningTime = warningTime; + this.isset_warningTime = true; + } + + @JsonIgnore + public boolean isEmptyWarningTime() { + return this.warningTime == 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 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 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; + } + + /** + * 閲嶅啓 toString() 鏂规硶 + */ + @Override + public String toString() { + return new StringBuilder() + .append("id=").append(this.id) + .append("baseWarehouseId=").append(this.baseWarehouseId) + .append("baseWarehouseName=").append(this.baseWarehouseName) + .append("baseGoodsTemplateId=").append(this.baseGoodsTemplateId) + .append("baseGoodsTemplateName=").append(this.baseGoodsTemplateName) + .append("baseGoodsModelsId=").append(this.baseGoodsModelsId) + .append("baseGoodsModelsName=").append(this.baseGoodsModelsName) + .append("goodsType=").append(this.goodsType) + .append("warningType=").append(this.warningType) + .append("upperLimit=").append(this.upperLimit) + .append("lowerLimit=").append(this.lowerLimit) + .append("warehouseCount=").append(this.warehouseCount) + .append("warningTime=").append(this.warningTime) + .append("states=").append(this.states) + .append("operatorId=").append(this.operatorId) + .append("operatorName=").append(this.operatorName) + .append("dealTime=").append(this.dealTime) + .append("agencyId=").append(this.agencyId) + .append("agencyName=").append(this.agencyName) + .toString(); + } + + /** + * 鍏嬮殕 + */ + public WhWarning $clone() { + WhWarning wh_warning = new WhWarning(); + + // 鏁版嵁搴撳悕绉� + //wh_warning.setDatabaseName_(this.getDatabaseName_()); + + // 涓婚敭 + if (this.isset_id) { + wh_warning.setId(this.getId()); + } + // 鏅�氬睘鎬� + if (this.isset_baseWarehouseId) { + wh_warning.setBaseWarehouseId(this.getBaseWarehouseId()); + } + if (this.isset_baseWarehouseName) { + wh_warning.setBaseWarehouseName(this.getBaseWarehouseName()); + } + if (this.isset_baseGoodsTemplateId) { + wh_warning.setBaseGoodsTemplateId(this.getBaseGoodsTemplateId()); + } + if (this.isset_baseGoodsTemplateName) { + wh_warning.setBaseGoodsTemplateName(this.getBaseGoodsTemplateName()); + } + if (this.isset_baseGoodsModelsId) { + wh_warning.setBaseGoodsModelsId(this.getBaseGoodsModelsId()); + } + if (this.isset_baseGoodsModelsName) { + wh_warning.setBaseGoodsModelsName(this.getBaseGoodsModelsName()); + } + if (this.isset_goodsType) { + wh_warning.setGoodsType(this.getGoodsType()); + } + if (this.isset_warningType) { + wh_warning.setWarningType(this.getWarningType()); + } + if (this.isset_upperLimit) { + wh_warning.setUpperLimit(this.getUpperLimit()); + } + if (this.isset_lowerLimit) { + wh_warning.setLowerLimit(this.getLowerLimit()); + } + if (this.isset_warehouseCount) { + wh_warning.setWarehouseCount(this.getWarehouseCount()); + } + if (this.isset_warningTime) { + wh_warning.setWarningTime(this.getWarningTime()); + } + if (this.isset_states) { + wh_warning.setStates(this.getStates()); + } + if (this.isset_operatorId) { + wh_warning.setOperatorId(this.getOperatorId()); + } + if (this.isset_operatorName) { + wh_warning.setOperatorName(this.getOperatorName()); + } + if (this.isset_dealTime) { + wh_warning.setDealTime(this.getDealTime()); + } + if (this.isset_agencyId) { + wh_warning.setAgencyId(this.getAgencyId()); + } + if (this.isset_agencyName) { + wh_warning.setAgencyName(this.getAgencyName()); + } + return wh_warning; + } +} diff --git a/consum-model-pojo/src/main/java/com/consum/model/po/WhWarningConfig.java b/consum-model-pojo/src/main/java/com/consum/model/po/WhWarningConfig.java new file mode 100644 index 0000000..78e2fbd --- /dev/null +++ b/consum-model-pojo/src/main/java/com/consum/model/po/WhWarningConfig.java @@ -0,0 +1,216 @@ + +package com.consum.model.po; + +import com.fasterxml.jackson.annotation.JsonAutoDetect; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.walker.jdbc.BasePo; + +/** + * 琛ㄥ悕:WH_WARNING_CONFIG * + * @author genrator + */ +@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) +public class WhWarningConfig extends BasePo<WhWarningConfig> { + // 搴忓垪鍖栫増鏈彿 + private static final long serialVersionUID = 1L; + + // 涓婚敭 + private Long id = null; + @JsonIgnore + protected boolean isset_id = false; + + // 灞炴�у垪琛� + private Long baseWarehouseId = null; + @JsonIgnore + protected boolean isset_baseWarehouseId = false; + + private Long baseGoodsTemplateId = null; + @JsonIgnore + protected boolean isset_baseGoodsTemplateId = false; + + private Long baseGoodsModelsId = null; + @JsonIgnore + protected boolean isset_baseGoodsModelsId = false; + + private Integer goodsType = null; + @JsonIgnore + protected boolean isset_goodsType = false; + + private Integer upperLimit = null; + @JsonIgnore + protected boolean isset_upperLimit = false; + + private Integer lowerLimit = null; + @JsonIgnore + protected boolean isset_lowerLimit = false; + + /** + * 榛樿鏋勯�犲嚱鏁� + */ + public WhWarningConfig() { + } + + /** + * 鏍规嵁涓婚敭鏋勯�犲璞� + */ + public WhWarningConfig(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 getBaseWarehouseId() { + return this.baseWarehouseId; + } + + public void setBaseWarehouseId(Long baseWarehouseId) { + this.baseWarehouseId = baseWarehouseId; + this.isset_baseWarehouseId = true; + } + + @JsonIgnore + public boolean isEmptyBaseWarehouseId() { + return this.baseWarehouseId == null; + } + + public Long getBaseGoodsTemplateId() { + return this.baseGoodsTemplateId; + } + + public void setBaseGoodsTemplateId(Long baseGoodsTemplateId) { + this.baseGoodsTemplateId = baseGoodsTemplateId; + this.isset_baseGoodsTemplateId = true; + } + + @JsonIgnore + public boolean isEmptyBaseGoodsTemplateId() { + return this.baseGoodsTemplateId == null; + } + + public Long getBaseGoodsModelsId() { + return this.baseGoodsModelsId; + } + + public void setBaseGoodsModelsId(Long baseGoodsModelsId) { + this.baseGoodsModelsId = baseGoodsModelsId; + this.isset_baseGoodsModelsId = true; + } + + @JsonIgnore + public boolean isEmptyBaseGoodsModelsId() { + return this.baseGoodsModelsId == null; + } + + public Integer getGoodsType() { + return this.goodsType; + } + + public void setGoodsType(Integer goodsType) { + this.goodsType = goodsType; + this.isset_goodsType = true; + } + + @JsonIgnore + public boolean isEmptyGoodsType() { + return this.goodsType == null; + } + + public Integer getUpperLimit() { + return this.upperLimit; + } + + public void setUpperLimit(Integer upperLimit) { + this.upperLimit = upperLimit; + this.isset_upperLimit = true; + } + + @JsonIgnore + public boolean isEmptyUpperLimit() { + return this.upperLimit == null; + } + + public Integer getLowerLimit() { + return this.lowerLimit; + } + + public void setLowerLimit(Integer lowerLimit) { + this.lowerLimit = lowerLimit; + this.isset_lowerLimit = true; + } + + @JsonIgnore + public boolean isEmptyLowerLimit() { + return this.lowerLimit == null; + } + + /** + * 閲嶅啓 toString() 鏂规硶 + */ + @Override + public String toString() { + return new StringBuilder() + .append("id=").append(this.id) + .append("baseWarehouseId=").append(this.baseWarehouseId) + .append("baseGoodsTemplateId=").append(this.baseGoodsTemplateId) + .append("baseGoodsModelsId=").append(this.baseGoodsModelsId) + .append("goodsType=").append(this.goodsType) + .append("upperLimit=").append(this.upperLimit) + .append("lowerLimit=").append(this.lowerLimit) + .toString(); + } + + /** + * 鍏嬮殕 + */ + public WhWarningConfig $clone() { + WhWarningConfig wh_warning_config = new WhWarningConfig(); + + // 鏁版嵁搴撳悕绉� + //wh_warning_config.setDatabaseName_(this.getDatabaseName_()); + + // 涓婚敭 + if (this.isset_id) { + wh_warning_config.setId(this.getId()); + } + // 鏅�氬睘鎬� + if (this.isset_baseWarehouseId) { + wh_warning_config.setBaseWarehouseId(this.getBaseWarehouseId()); + } + if (this.isset_baseGoodsTemplateId) { + wh_warning_config.setBaseGoodsTemplateId(this.getBaseGoodsTemplateId()); + } + if (this.isset_baseGoodsModelsId) { + wh_warning_config.setBaseGoodsModelsId(this.getBaseGoodsModelsId()); + } + if (this.isset_goodsType) { + wh_warning_config.setGoodsType(this.getGoodsType()); + } + if (this.isset_upperLimit) { + wh_warning_config.setUpperLimit(this.getUpperLimit()); + } + if (this.isset_lowerLimit) { + wh_warning_config.setLowerLimit(this.getLowerLimit()); + } + return wh_warning_config; + } +} -- Gitblit v1.9.1