From 07af7bd2217050ed0df8a0c154ba1a61692adcb9 Mon Sep 17 00:00:00 2001
From: luqingyang <lqy5492@163.com>
Date: 星期三, 25 十月 2023 16:36:18 +0800
Subject: [PATCH] 物品管理、物品分类、机构、用户、缓存 相关代码

---
 consum-model-pojo/src/main/java/com/consum/model/po/BaseGoodsTemplate.java |   68 ++++++++++++++++++++++++++++------
 1 files changed, 56 insertions(+), 12 deletions(-)

diff --git a/consum-model-pojo/src/main/java/com/consum/model/po/BaseGoodsTemplate.java b/consum-model-pojo/src/main/java/com/consum/model/po/BaseGoodsTemplate.java
index f857b66..1be32be 100644
--- a/consum-model-pojo/src/main/java/com/consum/model/po/BaseGoodsTemplate.java
+++ b/consum-model-pojo/src/main/java/com/consum/model/po/BaseGoodsTemplate.java
@@ -72,9 +72,17 @@
     @JsonIgnore
     protected boolean isset_createDate = false;
 
-    private Integer type = null;
+    private Long dTime = null;
     @JsonIgnore
-    protected boolean isset_type = false;
+    protected boolean isset_dTime = false;
+
+    private Long dUserId = null;
+    @JsonIgnore
+    protected boolean isset_dUserId = false;
+
+    private String dUserName = null;
+    @JsonIgnore
+    protected boolean isset_dUserName = false;
 
     /**
      * 榛樿鏋勯�犲嚱鏁�
@@ -293,18 +301,46 @@
         return this.createDate == null;
     }
 
-    public Integer getType() {
-        return this.type;
+    public Long getDTime() {
+        return this.dTime;
     }
 
-    public void setType(Integer type) {
-        this.type = type;
-        this.isset_type = true;
+    public void setDTime(Long dTime) {
+        this.dTime = dTime;
+        this.isset_dTime = true;
     }
 
     @JsonIgnore
-    public boolean isEmptyType() {
-        return this.type == null;
+    public boolean isEmptyDTime() {
+        return this.dTime == null;
+    }
+
+    public Long getDUserId() {
+        return this.dUserId;
+    }
+
+    public void setDUserId(Long dUserId) {
+        this.dUserId = dUserId;
+        this.isset_dUserId = true;
+    }
+
+    @JsonIgnore
+    public boolean isEmptyDUserId() {
+        return this.dUserId == null;
+    }
+
+    public String getDUserName() {
+        return this.dUserName;
+    }
+
+    public void setDUserName(String dUserName) {
+        this.dUserName = dUserName;
+        this.isset_dUserName = true;
+    }
+
+    @JsonIgnore
+    public boolean isEmptyDUserName() {
+        return this.dUserName == null || this.dUserName.length() == 0;
     }
 
     /**
@@ -327,7 +363,9 @@
                 .append("agencyId=").append(this.agencyId)
                 .append("agencyName=").append(this.agencyName)
                 .append("createDate=").append(this.createDate)
-                .append("type=").append(this.type)
+                .append("dTime=").append(this.dTime)
+                .append("dUserId=").append(this.dUserId)
+                .append("dUserName=").append(this.dUserName)
                 .toString();
     }
 
@@ -384,8 +422,14 @@
         if (this.isset_createDate) {
             base_goods_template.setCreateDate(this.getCreateDate());
         }
-        if (this.isset_type) {
-            base_goods_template.setType(this.getType());
+        if (this.isset_dTime) {
+            base_goods_template.setDTime(this.getDTime());
+        }
+        if (this.isset_dUserId) {
+            base_goods_template.setDUserId(this.getDUserId());
+        }
+        if (this.isset_dUserName) {
+            base_goods_template.setDUserName(this.getDUserName());
         }
         return base_goods_template;
     }

--
Gitblit v1.9.1