From c635d78b479510ebe2556a420948effcd30a0731 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期六, 21 十二月 2024 18:40:43 +0800
Subject: [PATCH] 新建德森项目分支

---
 zy-asrs-common/src/main/java/com/zy/asrs/common/sys/entity/Resource.java |  218 +++++++++++++++++++++++++++---------------------------
 1 files changed, 109 insertions(+), 109 deletions(-)

diff --git a/zy-asrs-common/src/main/java/com/zy/asrs/common/sys/entity/Resource.java b/zy-asrs-common/src/main/java/com/zy/asrs/common/sys/entity/Resource.java
index 16a14e2..4ab0278 100644
--- a/zy-asrs-common/src/main/java/com/zy/asrs/common/sys/entity/Resource.java
+++ b/zy-asrs-common/src/main/java/com/zy/asrs/common/sys/entity/Resource.java
@@ -1,109 +1,109 @@
-package com.zy.asrs.common.sys.entity;
-
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.baomidou.mybatisplus.annotation.TableName;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-
-import java.io.Serializable;
-
-@Data
-@TableName("sys_resource")
-public class Resource implements Serializable {
-
-    private static final long serialVersionUID = 1L;
-
-    /**
-     * 缂栧彿
-     */
-    @TableId(value = "id", type = IdType.AUTO)
-    private Long id;
-
-    /**
-     * 鑿滃崟缂栫爜
-     */
-    private String code;
-
-    /**
-     * 鑿滃崟鍚嶇О
-     */
-    private String name;
-
-    /**
-     * 鐖剁骇鑿滃崟
-     */
-    private Long resourceId;
-
-    /**
-     * 鑿滃崟绛夌骇 1: 涓�绾ц彍鍗�  2: 浜岀骇鑿滃崟  
-     */
-    private Short level;
-
-    /**
-     * 鎺掑簭
-     */
-    private Integer sort;
-
-    /**
-     * 鐘舵�� 1: 姝e父  0: 绂佺敤  
-     */
-    private Short status;
-
-    /**
-     * URL鍙傛暟
-     */
-    private String param;
-
-    public Resource() {}
-
-    public Resource(String code,String name,Long resourceId,Short level,Integer sort,Short status) {
-        this.code = code;
-        this.name = name;
-        this.resourceId = resourceId;
-        this.level = level;
-        this.sort = sort;
-        this.status = status;
-    }
-
-//    Resource resource = new Resource(
-//            null,    // 鑿滃崟缂栫爜[闈炵┖]
-//            null,    // 鑿滃崟鍚嶇О[闈炵┖]
-//            null,    // 鐖剁骇鑿滃崟
-//            null,    // 鑿滃崟绛夌骇[闈炵┖]
-//            null,    // 鎺掑簭
-//            null    // 鐘舵�乕闈炵┖]
-//    );
-
-
-    public String getResourceName(){
-        return this.name;
-    }
-
-    public String getLevel$(){
-        if (null == this.level){ return null; }
-        switch (this.level){
-            case 1:
-                return "涓�绾ц彍鍗�";
-            case 2:
-                return "浜岀骇鑿滃崟";
-            case 3:
-                return "涓夌骇鑿滃崟";
-            default:
-                return String.valueOf(this.level);
-        }
-    }
-
-    public String getStatus$(){
-        if (null == this.status){ return null; }
-        switch (this.status){
-            case 1:
-                return "姝e父";
-            case 0:
-                return "绂佺敤";
-            default:
-                return String.valueOf(this.status);
-        }
-    }
-
-}
+package com.zy.asrs.common.sys.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+import java.io.Serializable;
+
+@Data
+@TableName("sys_resource")
+public class Resource implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 缂栧彿
+     */
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 鑿滃崟缂栫爜
+     */
+    private String code;
+
+    /**
+     * 鑿滃崟鍚嶇О
+     */
+    private String name;
+
+    /**
+     * 鐖剁骇鑿滃崟
+     */
+    private Long resourceId;
+
+    /**
+     * 鑿滃崟绛夌骇 1: 涓�绾ц彍鍗�  2: 浜岀骇鑿滃崟  
+     */
+    private Short level;
+
+    /**
+     * 鎺掑簭
+     */
+    private Integer sort;
+
+    /**
+     * 鐘舵�� 1: 姝e父  0: 绂佺敤  
+     */
+    private Short status;
+
+    /**
+     * URL鍙傛暟
+     */
+    private String param;
+
+    public Resource() {}
+
+    public Resource(String code,String name,Long resourceId,Short level,Integer sort,Short status) {
+        this.code = code;
+        this.name = name;
+        this.resourceId = resourceId;
+        this.level = level;
+        this.sort = sort;
+        this.status = status;
+    }
+
+//    Resource resource = new Resource(
+//            null,    // 鑿滃崟缂栫爜[闈炵┖]
+//            null,    // 鑿滃崟鍚嶇О[闈炵┖]
+//            null,    // 鐖剁骇鑿滃崟
+//            null,    // 鑿滃崟绛夌骇[闈炵┖]
+//            null,    // 鎺掑簭
+//            null    // 鐘舵�乕闈炵┖]
+//    );
+
+
+    public String getResourceName(){
+        return this.name;
+    }
+
+    public String getLevel$(){
+        if (null == this.level){ return null; }
+        switch (this.level){
+            case 1:
+                return "涓�绾ц彍鍗�";
+            case 2:
+                return "浜岀骇鑿滃崟";
+            case 3:
+                return "涓夌骇鑿滃崟";
+            default:
+                return String.valueOf(this.level);
+        }
+    }
+
+    public String getStatus$(){
+        if (null == this.status){ return null; }
+        switch (this.status){
+            case 1:
+                return "姝e父";
+            case 0:
+                return "绂佺敤";
+            default:
+                return String.valueOf(this.status);
+        }
+    }
+
+}

--
Gitblit v1.9.1