From a30a15f292e24f3e93253aec6dcc41b5cc3cc420 Mon Sep 17 00:00:00 2001 From: cy <1664593601@qq.com> Date: 星期二, 31 十月 2023 11:27:40 +0800 Subject: [PATCH] feat: 盘点单/进出库流水总表/库存物品详情/物品仓库保管记录 实体类 --- consum-model-pojo/src/main/java/com/consum/model/po/LWarehouseFlow.java | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/consum-model-pojo/src/main/java/com/consum/model/po/LWarehouseFlow.java b/consum-model-pojo/src/main/java/com/consum/model/po/LWarehouseFlow.java index 886443a..21eee37 100644 --- a/consum-model-pojo/src/main/java/com/consum/model/po/LWarehouseFlow.java +++ b/consum-model-pojo/src/main/java/com/consum/model/po/LWarehouseFlow.java @@ -20,6 +20,10 @@ protected boolean isset_id = false; // 灞炴�у垪琛� + private Integer warehouseType = null; + @JsonIgnore + protected boolean isset_warehouseType = false; + private Long warehouseId = null; @JsonIgnore protected boolean isset_warehouseId = false; @@ -85,6 +89,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 getWarehouseId() { @@ -206,6 +224,7 @@ public String toString() { return new StringBuilder() .append("id=").append(this.id) + .append("warehouseType=").append(this.warehouseType) .append("warehouseId=").append(this.warehouseId) .append("warehouseName=").append(this.warehouseName) .append("thisType=").append(this.thisType) @@ -231,6 +250,9 @@ l_warehouse_flow.setId(this.getId()); } // 鏅�氬睘鎬� + if (this.isset_warehouseType) { + l_warehouse_flow.setWarehouseType(this.getWarehouseType()); + } if (this.isset_warehouseId) { l_warehouse_flow.setWarehouseId(this.getWarehouseId()); } -- Gitblit v1.9.1