From d5449236ef0b3adafb3e4cc872f50479efa0ce7b Mon Sep 17 00:00:00 2001
From: zhangc <zc@123>
Date: 星期二, 11 三月 2025 16:10:29 +0800
Subject: [PATCH] 配置信息

---
 src/main/java/com/zy/system/entity/Config.java |   37 +++++++++++++++++++++----------------
 1 files changed, 21 insertions(+), 16 deletions(-)

diff --git a/src/main/java/com/zy/system/entity/Config.java b/src/main/java/com/zy/system/entity/Config.java
index 9b6a39a..e8341ed 100644
--- a/src/main/java/com/zy/system/entity/Config.java
+++ b/src/main/java/com/zy/system/entity/Config.java
@@ -42,9 +42,10 @@
      */
     private Short status;
 
-    public Config() {}
+    public Config() {
+    }
 
-    public Config(String name,String code,String value,Short type,Short status) {
+    public Config(String name, String code, String value, Short type, Short status) {
         this.name = name;
         this.code = code;
         this.value = value;
@@ -96,9 +97,15 @@
         return type;
     }
 
-    public String getType$(){
-        if (null == this.type){ return null; }
-        switch (this.type){
+    public void setType(Short type) {
+        this.type = type;
+    }
+
+    public String getType$() {
+        if (null == this.type) {
+            return null;
+        }
+        switch (this.type) {
             case 1:
                 return "String";
             case 2:
@@ -108,17 +115,19 @@
         }
     }
 
-    public void setType(Short type) {
-        this.type = type;
-    }
-
     public Short getStatus() {
         return status;
     }
 
-    public String getStatus$(){
-        if (null == this.status){ return null; }
-        switch (this.status){
+    public void setStatus(Short status) {
+        this.status = status;
+    }
+
+    public String getStatus$() {
+        if (null == this.status) {
+            return null;
+        }
+        switch (this.status) {
             case 1:
                 return "姝e父";
             case 0:
@@ -126,10 +135,6 @@
             default:
                 return String.valueOf(this.status);
         }
-    }
-
-    public void setStatus(Short status) {
-        this.status = status;
     }
 
 

--
Gitblit v1.9.1