From 396ebb5642636d6667212939fa6ef195eeebc05e Mon Sep 17 00:00:00 2001
From: cy <1664593601@qq.com>
Date: 星期四, 02 十一月 2023 10:14:30 +0800
Subject: [PATCH] feat: 供应商

---
 consum-model-pojo/src/main/java/com/consum/model/po/WhWarningConfig.java |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

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
index 78e2fbd..cfff18c 100644
--- 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
@@ -20,6 +20,10 @@
     protected boolean isset_id = false;
 
     // 灞炴�у垪琛�
+    private Integer warehouseType = null;
+    @JsonIgnore
+    protected boolean isset_warehouseType = false;
+
     private Long baseWarehouseId = null;
     @JsonIgnore
     protected boolean isset_baseWarehouseId = false;
@@ -77,6 +81,20 @@
     @JsonIgnore
     public boolean isEmptyId() {
         return this.id == null;
+    }
+
+    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 getBaseWarehouseId() {
@@ -170,6 +188,7 @@
     public String toString() {
         return new StringBuilder()
                 .append("id=").append(this.id)
+                .append("warehouseType=").append(this.warehouseType)
                 .append("baseWarehouseId=").append(this.baseWarehouseId)
                 .append("baseGoodsTemplateId=").append(this.baseGoodsTemplateId)
                 .append("baseGoodsModelsId=").append(this.baseGoodsModelsId)
@@ -193,6 +212,9 @@
             wh_warning_config.setId(this.getId());
         }
         // 鏅�氬睘鎬�
+        if (this.isset_warehouseType) {
+            wh_warning_config.setWarehouseType(this.getWarehouseType());
+        }
         if (this.isset_baseWarehouseId) {
             wh_warning_config.setBaseWarehouseId(this.getBaseWarehouseId());
         }

--
Gitblit v1.9.1