Administrator
5 天以前 aa33e56e37cd19b88ae8eea69c5ebc7c6da8b1d2
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 "正常";
            case 0:
@@ -126,10 +135,6 @@
            default:
                return String.valueOf(this.status);
        }
    }
    public void setStatus(Short status) {
        this.status = status;
    }