From 893fe161e39d8f912fe2f2b0d3cb89b16c9fc420 Mon Sep 17 00:00:00 2001
From: pjb <123456>
Date: 星期三, 25 九月 2024 14:21:26 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/system/entity/SaasLog.java |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/system/entity/SaasLog.java b/src/main/java/com/zy/system/entity/SaasLog.java
index 1716bb7..abf52b8 100644
--- a/src/main/java/com/zy/system/entity/SaasLog.java
+++ b/src/main/java/com/zy/system/entity/SaasLog.java
@@ -6,6 +6,7 @@
 import com.baomidou.mybatisplus.enums.IdType;
 import com.core.common.Cools;
 import io.swagger.annotations.ApiModelProperty;
+import lombok.AllArgsConstructor;
 import lombok.Data;
 import org.springframework.format.annotation.DateTimeFormat;
 
@@ -15,6 +16,7 @@
 
 @Data
 @TableName("sys_saas_log")
+@AllArgsConstructor
 public class SaasLog implements Serializable {
 
     private static final long serialVersionUID = 1L;
@@ -59,6 +61,22 @@
     private String batch;
     private Integer packageNo;
 
+    /**
+     * 涓讳綋
+     */
+    private String owner;
+
+    /**
+     * 杞﹂棿
+     */
+    private String workshop;
+
+    /**
+     * 鍗曟嵁绫诲瀷
+     */
+    @TableField("doc_type")
+    private Long docType;
+
     public SaasLog() {}
 
     public SaasLog(Long id,Integer type,String locNo,String matnr,Date ioTime,Long createBy) {
@@ -87,6 +105,9 @@
     }
 
     public String getType$(){
+        if (this.type == null) {
+            return "";
+        }
         if (this.type ==0) {
             return "鍏ュ簱";
            } else if (this.type == 1) {
@@ -100,6 +121,9 @@
         }
 
     }
+    public String getDocType$(){
+        return "";
+    }
 
 
 }

--
Gitblit v1.9.1