From 82de5a307466894bbb0258f8a63a26a7bb96d80d Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期四, 16 十月 2025 09:55:35 +0800
Subject: [PATCH] 13

---
 src/main/java/com/zy/asrs/entity/Tag.java |   77 ++++++++++++++++++++------------------
 1 files changed, 41 insertions(+), 36 deletions(-)

diff --git a/src/main/java/com/zy/asrs/entity/Tag.java b/src/main/java/com/zy/asrs/entity/Tag.java
index d5e843c..95752e3 100644
--- a/src/main/java/com/zy/asrs/entity/Tag.java
+++ b/src/main/java/com/zy/asrs/entity/Tag.java
@@ -22,134 +22,135 @@
     /**
      * ID
      */
-    @ApiModelProperty(value= "ID")
+    @ApiModelProperty(value = "ID")
     @TableId(value = "id", type = IdType.AUTO)
     private Long id;
 
     /**
      * 缂栧彿
      */
-    @ApiModelProperty(value= "缂栧彿")
+    @ApiModelProperty(value = "缂栧彿")
     private String uuid;
 
     /**
      * 鍚嶇О
      */
-    @ApiModelProperty(value= "鍚嶇О")
+    @ApiModelProperty(value = "鍚嶇О")
     private String name;
 
     /**
      * 鐖剁骇
      */
-    @ApiModelProperty(value= "鐖剁骇")
+    @ApiModelProperty(value = "鐖剁骇")
     @TableField("parent_id")
     private Long parentId;
 
     /**
      * 鐖剁骇鍚嶇О
      */
-    @ApiModelProperty(value= "鐖剁骇鍚嶇О")
+    @ApiModelProperty(value = "鐖剁骇鍚嶇О")
     @TableField("parent_name")
     private String parentName;
 
     /**
      * 鍏宠仈璺緞
      */
-    @ApiModelProperty(value= "鍏宠仈璺緞")
+    @ApiModelProperty(value = "鍏宠仈璺緞")
     private String path;
 
     /**
      * 鍏宠仈璺緞鍚�
      */
-    @ApiModelProperty(value= "鍏宠仈璺緞鍚�")
+    @ApiModelProperty(value = "鍏宠仈璺緞鍚�")
     @TableField("path_name")
     private String pathName;
 
     /**
      * 绫诲瀷 1: 鐩掕  2: 琚嬭  0: 鍏朵粬
      */
-    @ApiModelProperty(value= "绫诲瀷 1: 鐩掕  2: 琚嬭  0: 鍏朵粬  ")
+    @ApiModelProperty(value = "绫诲瀷 1: 鐩掕  2: 琚嬭  0: 鍏朵粬  ")
     private Integer type;
 
     /**
      * 璐熻矗浜�
      */
-    @ApiModelProperty(value= "璐熻矗浜�")
+    @ApiModelProperty(value = "璐熻矗浜�")
     private String leading;
 
     /**
      * 鍥剧墖
      */
-    @ApiModelProperty(value= "鍥剧墖")
+    @ApiModelProperty(value = "鍥剧墖")
     private String img;
 
     /**
      * 绠�瑕佹弿杩�
      */
-    @ApiModelProperty(value= "绠�瑕佹弿杩�")
+    @ApiModelProperty(value = "绠�瑕佹弿杩�")
     private String brief;
 
     /**
      * 鏁伴噺
      */
-    @ApiModelProperty(value= "鏁伴噺")
+    @ApiModelProperty(value = "鏁伴噺")
     private Integer count;
 
     /**
      * 绛夌骇
      */
-    @ApiModelProperty(value= "绛夌骇")
+    @ApiModelProperty(value = "绛夌骇")
     private Integer level;
 
     /**
      * 鎺掑簭
      */
-    @ApiModelProperty(value= "鎺掑簭")
+    @ApiModelProperty(value = "鎺掑簭")
     private Integer sort;
 
     /**
      * 鐘舵�� 1: 姝e父  0: 绂佺敤
      */
-    @ApiModelProperty(value= "鐘舵�� 1: 姝e父  0: 绂佺敤  ")
+    @ApiModelProperty(value = "鐘舵�� 1: 姝e父  0: 绂佺敤  ")
     private Integer status;
 
     /**
      * 娣诲姞鏃堕棿
      */
-    @ApiModelProperty(value= "娣诲姞鏃堕棿")
+    @ApiModelProperty(value = "娣诲姞鏃堕棿")
     @TableField("create_time")
     private Date createTime;
 
     /**
      * 娣诲姞浜哄憳
      */
-    @ApiModelProperty(value= "娣诲姞浜哄憳")
+    @ApiModelProperty(value = "娣诲姞浜哄憳")
     @TableField("create_by")
     private Long createBy;
 
     /**
      * 淇敼鏃堕棿
      */
-    @ApiModelProperty(value= "淇敼鏃堕棿")
+    @ApiModelProperty(value = "淇敼鏃堕棿")
     @TableField("update_time")
     private Date updateTime;
 
     /**
      * 淇敼浜哄憳
      */
-    @ApiModelProperty(value= "淇敼浜哄憳")
+    @ApiModelProperty(value = "淇敼浜哄憳")
     @TableField("update_by")
     private Long updateBy;
 
     /**
      * 澶囨敞
      */
-    @ApiModelProperty(value= "澶囨敞")
+    @ApiModelProperty(value = "澶囨敞")
     private String memo;
 
-    public Tag() {}
+    public Tag() {
+    }
 
-    public Tag(String uuid,String name,Long parentId,String parentName,String path,String pathName,Integer type,String leading,String img,String brief,Integer count,Integer level,Integer sort,Integer status,Date createTime,Long createBy,Date updateTime,Long updateBy,String memo) {
+    public Tag(String uuid, String name, Long parentId, String parentName, String path, String pathName, Integer type, String leading, String img, String brief, Integer count, Integer level, Integer sort, Integer status, Date createTime, Long createBy, Date updateTime, Long updateBy, String memo) {
         this.uuid = uuid;
         this.name = name;
         this.parentId = parentId;
@@ -253,9 +254,11 @@
         return type;
     }
 
-    public String getType$(){
-        if (null == this.type){ return null; }
-        switch (this.type){
+    public String getType$() {
+        if (null == this.type) {
+            return null;
+        }
+        switch (this.type) {
             case 1:
                 return "鐩掕";
             case 2:
@@ -323,9 +326,11 @@
         return status;
     }
 
-    public String getStatus$(){
-        if (null == this.status){ return null; }
-        switch (this.status){
+    public String getStatus$() {
+        if (null == this.status) {
+            return null;
+        }
+        switch (this.status) {
             case 1:
                 return "姝e父";
             case 0:
@@ -343,8 +348,8 @@
         return createTime;
     }
 
-    public String getCreateTime$(){
-        if (Cools.isEmpty(this.createTime)){
+    public String getCreateTime$() {
+        if (Cools.isEmpty(this.createTime)) {
             return "";
         }
         return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
@@ -358,10 +363,10 @@
         return createBy;
     }
 
-    public String getCreateBy$(){
+    public String getCreateBy$() {
         UserService service = SpringUtils.getBean(UserService.class);
         User user = service.selectById(this.createBy);
-        if (!Cools.isEmpty(user)){
+        if (!Cools.isEmpty(user)) {
             return String.valueOf(user.getNickname());
         }
         return null;
@@ -375,8 +380,8 @@
         return updateTime;
     }
 
-    public String getUpdateTime$(){
-        if (Cools.isEmpty(this.updateTime)){
+    public String getUpdateTime$() {
+        if (Cools.isEmpty(this.updateTime)) {
             return "";
         }
         return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime);
@@ -390,10 +395,10 @@
         return updateBy;
     }
 
-    public String getUpdateBy$(){
+    public String getUpdateBy$() {
         UserService service = SpringUtils.getBean(UserService.class);
         User user = service.selectById(this.updateBy);
-        if (!Cools.isEmpty(user)){
+        if (!Cools.isEmpty(user)) {
             return String.valueOf(user.getNickname());
         }
         return null;

--
Gitblit v1.9.1