zhang
2025-06-13 ae54e42cbe354ef5c39954eed2eab18de9504946
src/main/java/com/zy/system/entity/Config.java
@@ -42,7 +42,8 @@
     */
    private Short status;
    public Config() {}
    public Config() {
    }
    public Config(String name,String code,String value,Short type,Short status) {
        this.name = name;
@@ -96,8 +97,14 @@
        return type;
    }
    public void setType(Short type) {
        this.type = type;
    }
    public String getType$(){
        if (null == this.type){ return null; }
        if (null == this.type) {
            return null;
        }
        switch (this.type){
            case 1:
                return "String";
@@ -108,16 +115,18 @@
        }
    }
    public void setType(Short type) {
        this.type = type;
    }
    public Short getStatus() {
        return status;
    }
    public void setStatus(Short status) {
        this.status = status;
    }
    public String getStatus$(){
        if (null == this.status){ return null; }
        if (null == this.status) {
            return null;
        }
        switch (this.status){
            case 1:
                return "正常";
@@ -126,10 +135,6 @@
            default:
                return String.valueOf(this.status);
        }
    }
    public void setStatus(Short status) {
        this.status = status;
    }