| | |
| | | */ |
| | | 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; |
| | |
| | | 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: |
| | |
| | | } |
| | | } |
| | | |
| | | 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: |
| | |
| | | default: |
| | | return String.valueOf(this.status); |
| | | } |
| | | } |
| | | |
| | | public void setStatus(Short status) { |
| | | this.status = status; |
| | | } |
| | | |
| | | |