系统配置

This commit is contained in:
2025-11-18 18:46:14 +08:00
parent 9f3176194b
commit ca756dcfd7
23 changed files with 1039 additions and 49 deletions

View File

@@ -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 +
'}';
}