From 01107e8aadfaf1e84a971d8eeb9ab37e1c5569f3 Mon Sep 17 00:00:00 2001
From: cy <1664593601@qq.com>
Date: 星期五, 01 十二月 2023 09:38:56 +0800
Subject: [PATCH] feat: 部门退回/报废公用接口

---
 consum-model-pojo/src/main/java/com/consum/model/po/DepFormScrappedGoods.java |  235 +++++++++++++++++++++++++++++-----------------------------
 1 files changed, 118 insertions(+), 117 deletions(-)

diff --git a/consum-model-pojo/src/main/java/com/consum/model/po/DepFormScrappedGoods.java b/consum-model-pojo/src/main/java/com/consum/model/po/DepFormScrappedGoods.java
index 0628cd2..77ff1f4 100644
--- a/consum-model-pojo/src/main/java/com/consum/model/po/DepFormScrappedGoods.java
+++ b/consum-model-pojo/src/main/java/com/consum/model/po/DepFormScrappedGoods.java
@@ -6,7 +6,8 @@
 import com.walker.jdbc.BasePo;
 
 /**
- * 琛ㄥ悕:DEP_FORM_SCRAPPED_GOODS *
+ * 琛ㄥ悕:DEP_FORM_SCRAPPED_GOODS
+ *
  * @author genrator
  */
 @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
@@ -20,41 +21,41 @@
     protected boolean isset_id = false;
 
     // 灞炴�у垪琛�
-    private Integer scrappedCounts = null;
-    @JsonIgnore
-    protected boolean isset_scrappedCounts = false;
-
-    private Integer initCount = null;
-    @JsonIgnore
-    protected boolean isset_initCount = false;
-
     private Long depFormScrappedId = null;
     @JsonIgnore
     protected boolean isset_depFormScrappedId = false;
 
-    private String beiz = null;
+    private Long baseGoodsTemplateId = null;
     @JsonIgnore
-    protected boolean isset_beiz = false;
+    protected boolean isset_baseGoodsTemplateId = false;
 
-    private String scrappedCode = null;
+    private String baseGoodsTemplateName = null;
     @JsonIgnore
-    protected boolean isset_scrappedCode = false;
+    protected boolean isset_baseGoodsTemplateName = false;
 
-    private String scrappedName = null;
+    private String categoryName = null;
     @JsonIgnore
-    protected boolean isset_scrappedName = false;
+    protected boolean isset_categoryName = false;
 
-    private Long depFormLendingGoodsId = null;
+    private String classification = null;
     @JsonIgnore
-    protected boolean isset_depFormLendingGoodsId = false;
+    protected boolean isset_classification = false;
 
-    private Long depFormLendingId = null;
+    private Long transBusinessId = null;
     @JsonIgnore
-    protected boolean isset_depFormLendingId = false;
+    protected boolean isset_transBusinessId = false;
 
-    private Long warehouseId = null;
+    private String businessFormCode = null;
     @JsonIgnore
-    protected boolean isset_warehouseId = false;
+    protected boolean isset_businessFormCode = false;
+
+    private Integer transOutWarehouseType = null;
+    @JsonIgnore
+    protected boolean isset_transOutWarehouseType = false;
+
+    private Long transOutWarehouseId = null;
+    @JsonIgnore
+    protected boolean isset_transOutWarehouseId = false;
 
     /**
      * 榛樿鏋勯�犲嚱鏁�
@@ -91,34 +92,6 @@
         return this.id == null;
     }
 
-    public Integer getScrappedCounts() {
-        return this.scrappedCounts;
-    }
-
-    public void setScrappedCounts(Integer scrappedCounts) {
-        this.scrappedCounts = scrappedCounts;
-        this.isset_scrappedCounts = true;
-    }
-
-    @JsonIgnore
-    public boolean isEmptyScrappedCounts() {
-        return this.scrappedCounts == null;
-    }
-
-    public Integer getInitCount() {
-        return this.initCount;
-    }
-
-    public void setInitCount(Integer initCount) {
-        this.initCount = initCount;
-        this.isset_initCount = true;
-    }
-
-    @JsonIgnore
-    public boolean isEmptyInitCount() {
-        return this.initCount == null;
-    }
-
     public Long getDepFormScrappedId() {
         return this.depFormScrappedId;
     }
@@ -133,88 +106,116 @@
         return this.depFormScrappedId == null;
     }
 
-    public String getBeiz() {
-        return this.beiz;
+    public Long getBaseGoodsTemplateId() {
+        return this.baseGoodsTemplateId;
     }
 
-    public void setBeiz(String beiz) {
-        this.beiz = beiz;
-        this.isset_beiz = true;
+    public void setBaseGoodsTemplateId(Long baseGoodsTemplateId) {
+        this.baseGoodsTemplateId = baseGoodsTemplateId;
+        this.isset_baseGoodsTemplateId = true;
     }
 
     @JsonIgnore
-    public boolean isEmptyBeiz() {
-        return this.beiz == null || this.beiz.length() == 0;
+    public boolean isEmptyBaseGoodsTemplateId() {
+        return this.baseGoodsTemplateId == null;
     }
 
-    public String getScrappedCode() {
-        return this.scrappedCode;
+    public String getBaseGoodsTemplateName() {
+        return this.baseGoodsTemplateName;
     }
 
-    public void setScrappedCode(String scrappedCode) {
-        this.scrappedCode = scrappedCode;
-        this.isset_scrappedCode = true;
+    public void setBaseGoodsTemplateName(String baseGoodsTemplateName) {
+        this.baseGoodsTemplateName = baseGoodsTemplateName;
+        this.isset_baseGoodsTemplateName = true;
     }
 
     @JsonIgnore
-    public boolean isEmptyScrappedCode() {
-        return this.scrappedCode == null || this.scrappedCode.length() == 0;
+    public boolean isEmptyBaseGoodsTemplateName() {
+        return this.baseGoodsTemplateName == null || this.baseGoodsTemplateName.length() == 0;
     }
 
-    public String getScrappedName() {
-        return this.scrappedName;
+    public String getCategoryName() {
+        return this.categoryName;
     }
 
-    public void setScrappedName(String scrappedName) {
-        this.scrappedName = scrappedName;
-        this.isset_scrappedName = true;
+    public void setCategoryName(String categoryName) {
+        this.categoryName = categoryName;
+        this.isset_categoryName = true;
     }
 
     @JsonIgnore
-    public boolean isEmptyScrappedName() {
-        return this.scrappedName == null || this.scrappedName.length() == 0;
+    public boolean isEmptyCategoryName() {
+        return this.categoryName == null || this.categoryName.length() == 0;
     }
 
-    public Long getDepFormLendingGoodsId() {
-        return this.depFormLendingGoodsId;
+    public String getClassification() {
+        return this.classification;
     }
 
-    public void setDepFormLendingGoodsId(Long depFormLendingGoodsId) {
-        this.depFormLendingGoodsId = depFormLendingGoodsId;
-        this.isset_depFormLendingGoodsId = true;
+    public void setClassification(String classification) {
+        this.classification = classification;
+        this.isset_classification = true;
     }
 
     @JsonIgnore
-    public boolean isEmptyDepFormLendingGoodsId() {
-        return this.depFormLendingGoodsId == null;
+    public boolean isEmptyClassification() {
+        return this.classification == null || this.classification.length() == 0;
     }
 
-    public Long getDepFormLendingId() {
-        return this.depFormLendingId;
+    public Long getTransBusinessId() {
+        return this.transBusinessId;
     }
 
-    public void setDepFormLendingId(Long depFormLendingId) {
-        this.depFormLendingId = depFormLendingId;
-        this.isset_depFormLendingId = true;
+    public void setTransBusinessId(Long transBusinessId) {
+        this.transBusinessId = transBusinessId;
+        this.isset_transBusinessId = true;
     }
 
     @JsonIgnore
-    public boolean isEmptyDepFormLendingId() {
-        return this.depFormLendingId == null;
+    public boolean isEmptyTransBusinessId() {
+        return this.transBusinessId == null;
     }
 
-    public Long getWarehouseId() {
-        return this.warehouseId;
+    public String getBusinessFormCode() {
+        return this.businessFormCode;
     }
 
-    public void setWarehouseId(Long warehouseId) {
-        this.warehouseId = warehouseId;
-        this.isset_warehouseId = true;
+    public void setBusinessFormCode(String businessFormCode) {
+        this.businessFormCode = businessFormCode;
+        this.isset_businessFormCode = true;
     }
 
     @JsonIgnore
-    public boolean isEmptyWarehouseId() {
-        return this.warehouseId == null;
+    public boolean isEmptyBusinessFormCode() {
+        return this.businessFormCode == null || this.businessFormCode.length() == 0;
+    }
+
+    public Integer getTransOutWarehouseType() {
+        return this.transOutWarehouseType;
+    }
+
+    public void setTransOutWarehouseType(Integer transOutWarehouseType) {
+        this.transOutWarehouseType = transOutWarehouseType;
+        this.isset_transOutWarehouseType = true;
+    }
+
+    @JsonIgnore
+    public boolean isEmptyTransOutWarehouseType() {
+        return this.transOutWarehouseType == null;
+    }
+
+    public Long getTransOutWarehouseId() {
+        return this.transOutWarehouseId;
+    }
+
+    public void setTransOutWarehouseId(Long transOutWarehouseId) {
+        this.transOutWarehouseId = transOutWarehouseId;
+        this.isset_transOutWarehouseId = true;
+    }
+
+    @JsonIgnore
+    public boolean isEmptyTransOutWarehouseId() {
+        return this.transOutWarehouseId == null;
     }
 
     /**
@@ -224,15 +225,15 @@
     public String toString() {
         return new StringBuilder()
                 .append("id=").append(this.id)
-                .append("scrappedCounts=").append(this.scrappedCounts)
-                .append("initCount=").append(this.initCount)
                 .append("depFormScrappedId=").append(this.depFormScrappedId)
-                .append("beiz=").append(this.beiz)
-                .append("scrappedCode=").append(this.scrappedCode)
-                .append("scrappedName=").append(this.scrappedName)
-                .append("depFormLendingGoodsId=").append(this.depFormLendingGoodsId)
-                .append("depFormLendingId=").append(this.depFormLendingId)
-                .append("warehouseId=").append(this.warehouseId)
+                .append("baseGoodsTemplateId=").append(this.baseGoodsTemplateId)
+                .append("baseGoodsTemplateName=").append(this.baseGoodsTemplateName)
+                .append("categoryName=").append(this.categoryName)
+                .append("classification=").append(this.classification)
+                .append("transBusinessId=").append(this.transBusinessId)
+                .append("businessFormCode=").append(this.businessFormCode)
+                .append("transOutWarehouseType=").append(this.transOutWarehouseType)
+                .append("transOutWarehouseId=").append(this.transOutWarehouseId)
                 .toString();
     }
 
@@ -250,32 +251,32 @@
             dep_form_scrapped_goods.setId(this.getId());
         }
         // 鏅�氬睘鎬�
-        if (this.isset_scrappedCounts) {
-            dep_form_scrapped_goods.setScrappedCounts(this.getScrappedCounts());
-        }
-        if (this.isset_initCount) {
-            dep_form_scrapped_goods.setInitCount(this.getInitCount());
-        }
         if (this.isset_depFormScrappedId) {
             dep_form_scrapped_goods.setDepFormScrappedId(this.getDepFormScrappedId());
         }
-        if (this.isset_beiz) {
-            dep_form_scrapped_goods.setBeiz(this.getBeiz());
+        if (this.isset_baseGoodsTemplateId) {
+            dep_form_scrapped_goods.setBaseGoodsTemplateId(this.getBaseGoodsTemplateId());
         }
-        if (this.isset_scrappedCode) {
-            dep_form_scrapped_goods.setScrappedCode(this.getScrappedCode());
+        if (this.isset_baseGoodsTemplateName) {
+            dep_form_scrapped_goods.setBaseGoodsTemplateName(this.getBaseGoodsTemplateName());
         }
-        if (this.isset_scrappedName) {
-            dep_form_scrapped_goods.setScrappedName(this.getScrappedName());
+        if (this.isset_categoryName) {
+            dep_form_scrapped_goods.setCategoryName(this.getCategoryName());
         }
-        if (this.isset_depFormLendingGoodsId) {
-            dep_form_scrapped_goods.setDepFormLendingGoodsId(this.getDepFormLendingGoodsId());
+        if (this.isset_classification) {
+            dep_form_scrapped_goods.setClassification(this.getClassification());
         }
-        if (this.isset_depFormLendingId) {
-            dep_form_scrapped_goods.setDepFormLendingId(this.getDepFormLendingId());
+        if (this.isset_transBusinessId) {
+            dep_form_scrapped_goods.setTransBusinessId(this.getTransBusinessId());
         }
-        if (this.isset_warehouseId) {
-            dep_form_scrapped_goods.setWarehouseId(this.getWarehouseId());
+        if (this.isset_businessFormCode) {
+            dep_form_scrapped_goods.setBusinessFormCode(this.getBusinessFormCode());
+        }
+        if (this.isset_transOutWarehouseType) {
+            dep_form_scrapped_goods.setTransOutWarehouseType(this.getTransOutWarehouseType());
+        }
+        if (this.isset_transOutWarehouseId) {
+            dep_form_scrapped_goods.setTransOutWarehouseId(this.getTransOutWarehouseId());
         }
         return dep_form_scrapped_goods;
     }

--
Gitblit v1.9.1