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/Config.java | 166 +++++++++++++++++++++++++++--------------------------- 1 files changed, 83 insertions(+), 83 deletions(-) diff --git a/zy-asrs-common/src/main/java/com/zy/asrs/common/sys/entity/Config.java b/zy-asrs-common/src/main/java/com/zy/asrs/common/sys/entity/Config.java index 3dabc60..98ee40f 100644 --- a/zy-asrs-common/src/main/java/com/zy/asrs/common/sys/entity/Config.java +++ b/zy-asrs-common/src/main/java/com/zy/asrs/common/sys/entity/Config.java @@ -1,83 +1,83 @@ -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 lombok.Data; - -import java.io.Serializable; - -@Data -@TableName("sys_config") -public class Config implements Serializable { - - private static final long serialVersionUID = 1L; - - /** - * 缂栧彿 - */ - @TableId(value = "id", type = IdType.AUTO) - private Long id; - - /** - * 鍚嶇О - */ - private String name; - - /** - * 缂栫爜 - */ - private String code; - - /** - * 瀵瑰簲鍊� - */ - private String value; - - /** - * 绫诲瀷 1: String 2: JSON - */ - private Short type; - - /** - * 鐘舵�� 1: 姝e父 0: 绂佺敤 - */ - private Short status; - - public Config() {} - - public Config(String name,String code,String value,Short type,Short status) { - this.name = name; - this.code = code; - this.value = value; - this.type = type; - this.status = status; - } - - - public String getType$(){ - if (null == this.type){ return null; } - switch (this.type){ - case 1: - return "String"; - case 2: - return "JSON"; - default: - return String.valueOf(this.type); - } - } - - 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 lombok.Data; + +import java.io.Serializable; + +@Data +@TableName("sys_config") +public class Config implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 缂栧彿 + */ + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + /** + * 鍚嶇О + */ + private String name; + + /** + * 缂栫爜 + */ + private String code; + + /** + * 瀵瑰簲鍊� + */ + private String value; + + /** + * 绫诲瀷 1: String 2: JSON + */ + private Short type; + + /** + * 鐘舵�� 1: 姝e父 0: 绂佺敤 + */ + private Short status; + + public Config() {} + + public Config(String name,String code,String value,Short type,Short status) { + this.name = name; + this.code = code; + this.value = value; + this.type = type; + this.status = status; + } + + + public String getType$(){ + if (null == this.type){ return null; } + switch (this.type){ + case 1: + return "String"; + case 2: + return "JSON"; + default: + return String.valueOf(this.type); + } + } + + 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