系统配置
This commit is contained in:
@@ -18,16 +18,26 @@ public class TbSysConfig extends BaseDTO {
|
||||
*/
|
||||
private String configKey;
|
||||
|
||||
/**
|
||||
* @description 配置显示名称
|
||||
*/
|
||||
private String configName;
|
||||
|
||||
/**
|
||||
* @description 配置值
|
||||
*/
|
||||
private String configValue;
|
||||
|
||||
/**
|
||||
* @description 配置类型(string/number/boolean/json)
|
||||
* @description 数据类型(string/number/boolean/json)
|
||||
*/
|
||||
private String configType;
|
||||
|
||||
/**
|
||||
* @description 前端渲染类型(input/textarea/number/switch/select/password)
|
||||
*/
|
||||
private String renderType;
|
||||
|
||||
/**
|
||||
* @description 配置分组
|
||||
*/
|
||||
@@ -38,6 +48,46 @@ public class TbSysConfig extends BaseDTO {
|
||||
*/
|
||||
private String description;
|
||||
|
||||
/**
|
||||
* @description 输入框占位符
|
||||
*/
|
||||
private String placeholder;
|
||||
|
||||
/**
|
||||
* @description 备注说明(显示在表单项下方)
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* @description 文本框行数(textarea用)
|
||||
*/
|
||||
private Integer rows;
|
||||
|
||||
/**
|
||||
* @description 最小值(number用)
|
||||
*/
|
||||
private Integer minValue;
|
||||
|
||||
/**
|
||||
* @description 最大值(number用)
|
||||
*/
|
||||
private Integer maxValue;
|
||||
|
||||
/**
|
||||
* @description 单位(number用)
|
||||
*/
|
||||
private String unit;
|
||||
|
||||
/**
|
||||
* @description 下拉选项(select用,JSON格式)
|
||||
*/
|
||||
private String options;
|
||||
|
||||
/**
|
||||
* @description 排序号
|
||||
*/
|
||||
private Integer orderNum;
|
||||
|
||||
/**
|
||||
* @description 是否系统配置
|
||||
*/
|
||||
@@ -117,14 +167,97 @@ public class TbSysConfig extends BaseDTO {
|
||||
this.updater = updater;
|
||||
}
|
||||
|
||||
public String getConfigName() {
|
||||
return configName;
|
||||
}
|
||||
|
||||
public void setConfigName(String configName) {
|
||||
this.configName = configName;
|
||||
}
|
||||
|
||||
public String getRenderType() {
|
||||
return renderType;
|
||||
}
|
||||
|
||||
public void setRenderType(String renderType) {
|
||||
this.renderType = renderType;
|
||||
}
|
||||
|
||||
public String getPlaceholder() {
|
||||
return placeholder;
|
||||
}
|
||||
|
||||
public void setPlaceholder(String placeholder) {
|
||||
this.placeholder = placeholder;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public Integer getRows() {
|
||||
return rows;
|
||||
}
|
||||
|
||||
public void setRows(Integer rows) {
|
||||
this.rows = rows;
|
||||
}
|
||||
|
||||
public Integer getMinValue() {
|
||||
return minValue;
|
||||
}
|
||||
|
||||
public void setMinValue(Integer minValue) {
|
||||
this.minValue = minValue;
|
||||
}
|
||||
|
||||
public Integer getMaxValue() {
|
||||
return maxValue;
|
||||
}
|
||||
|
||||
public void setMaxValue(Integer maxValue) {
|
||||
this.maxValue = maxValue;
|
||||
}
|
||||
|
||||
public String getUnit() {
|
||||
return unit;
|
||||
}
|
||||
|
||||
public void setUnit(String unit) {
|
||||
this.unit = unit;
|
||||
}
|
||||
|
||||
public String getOptions() {
|
||||
return options;
|
||||
}
|
||||
|
||||
public void setOptions(String options) {
|
||||
this.options = options;
|
||||
}
|
||||
|
||||
public Integer getOrderNum() {
|
||||
return orderNum;
|
||||
}
|
||||
|
||||
public void setOrderNum(Integer orderNum) {
|
||||
this.orderNum = orderNum;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "TbSysConfig{" +
|
||||
"id=" + getID() +
|
||||
", configKey='" + configKey + '\'' +
|
||||
", configName='" + configName + '\'' +
|
||||
", configValue='" + configValue + '\'' +
|
||||
", configType='" + configType + '\'' +
|
||||
", renderType='" + renderType + '\'' +
|
||||
", configGroup='" + configGroup + '\'' +
|
||||
", orderNum=" + orderNum +
|
||||
", isSystem=" + isSystem +
|
||||
'}';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user