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/WhWarning.java | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) 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 index 81d4800..8fafcfd 100644 --- 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 @@ -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; @@ -125,6 +129,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() { @@ -386,6 +404,7 @@ public String toString() { return new StringBuilder() .append("id=").append(this.id) + .append("warehouseType=").append(this.warehouseType) .append("baseWarehouseId=").append(this.baseWarehouseId) .append("baseWarehouseName=").append(this.baseWarehouseName) .append("baseGoodsTemplateId=").append(this.baseGoodsTemplateId) @@ -421,6 +440,9 @@ wh_warning.setId(this.getId()); } // 鏅�氬睘鎬� + if (this.isset_warehouseType) { + wh_warning.setWarehouseType(this.getWarehouseType()); + } if (this.isset_baseWarehouseId) { wh_warning.setBaseWarehouseId(this.getBaseWarehouseId()); } -- Gitblit v1.9.1