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/Node.java |   81 +++++++++++++++++++++-------------------
 1 files changed, 43 insertions(+), 38 deletions(-)

diff --git a/src/main/java/com/zy/asrs/entity/Node.java b/src/main/java/com/zy/asrs/entity/Node.java
index db7fe9d..dc4d4b0 100644
--- a/src/main/java/com/zy/asrs/entity/Node.java
+++ b/src/main/java/com/zy/asrs/entity/Node.java
@@ -23,135 +23,136 @@
     /**
      * ID
      */
-    @ApiModelProperty(value= "ID")
+    @ApiModelProperty(value = "ID")
     @TableId(value = "id", type = IdType.AUTO)
     private Long id;
 
     /**
      * 鎵�灞為」鐩�
      */
-    @ApiModelProperty(value= "鎵�灞為」鐩�")
+    @ApiModelProperty(value = "鎵�灞為」鐩�")
     @TableField("host_id")
     private Long hostId;
 
     /**
      * 缂栧彿
      */
-    @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;
 
     /**
      * 绫诲瀷 1: 浠撳簱  2: 搴撳尯  3: 璐т綅
      */
-    @ApiModelProperty(value= "绫诲瀷 1: 浠撳簱  2: 搴撳尯  3: 璐т綅  ")
+    @ApiModelProperty(value = "绫诲瀷 1: 浠撳簱  2: 搴撳尯  3: 璐т綅  ")
     private Integer type;
 
     /**
      * 鍏宠仈璺緞
      */
-    @ApiModelProperty(value= "鍏宠仈璺緞")
+    @ApiModelProperty(value = "鍏宠仈璺緞")
     private String path;
 
     /**
      * 鍏宠仈璺緞鍚�
      */
-    @ApiModelProperty(value= "鍏宠仈璺緞鍚�")
+    @ApiModelProperty(value = "鍏宠仈璺緞鍚�")
     @TableField("name_path")
     private String namePath;
 
     /**
      * 绛夌骇
      */
-    @ApiModelProperty(value= "绛夌骇")
+    @ApiModelProperty(value = "绛夌骇")
     private Integer level;
 
     /**
      * 璐熻矗浜�
      */
-    @ApiModelProperty(value= "璐熻矗浜�")
+    @ApiModelProperty(value = "璐熻矗浜�")
     private String leading;
 
     /**
      * 鎺掑簭
      */
-    @ApiModelProperty(value= "鎺掑簭")
+    @ApiModelProperty(value = "鎺掑簭")
     private Integer sort;
 
     /**
      * 鏉$爜
      */
-    @ApiModelProperty(value= "鏉$爜")
+    @ApiModelProperty(value = "鏉$爜")
     private String barcode;
 
     /**
      * 鎺ㄨ崘浣�
      */
-    @ApiModelProperty(value= "鎺ㄨ崘浣�")
+    @ApiModelProperty(value = "鎺ㄨ崘浣�")
     private Integer major;
 
     /**
      * 鐘舵�� 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 Node() {}
+    public Node() {
+    }
 
-    public Node(Long hostId, String uuid,String name,Long parentId,String parentName,Integer type,String path,String namePath,Integer level,String leading,Integer sort,String barcode,Integer major,Integer status,Date createTime,Long createBy,Date updateTime,Long updateBy,String memo) {
+    public Node(Long hostId, String uuid, String name, Long parentId, String parentName, Integer type, String path, String namePath, Integer level, String leading, Integer sort, String barcode, Integer major, Integer status, Date createTime, Long createBy, Date updateTime, Long updateBy, String memo) {
         this.hostId = hostId;
         this.uuid = uuid;
         this.name = name;
@@ -210,10 +211,10 @@
         this.hostId = hostId;
     }
 
-    public String getHostId$(){
+    public String getHostId$() {
         HostService service = SpringUtils.getBean(HostService.class);
         Host host = service.selectById(this.hostId);
-        if (!Cools.isEmpty(host)){
+        if (!Cools.isEmpty(host)) {
             return String.valueOf(host.getName());
         }
         return null;
@@ -255,9 +256,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:
@@ -333,9 +336,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:
@@ -353,8 +358,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);
@@ -368,10 +373,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.getUsername());
         }
         return null;
@@ -385,8 +390,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);
@@ -400,10 +405,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.getUsername());
         }
         return null;

--
Gitblit v1.9.1