package org.xyzh.common.dto.system;

import org.xyzh.common.dto.BaseDTO;

/**
 * @description 系统配置表
 * @filename TbSysConfig.java
 * @author yslg
 * @copyright xyzh
 * @since 2025-10-15
 */
public class TbSysConfig extends BaseDTO {
    
    private static final long serialVersionUID = 1L;
    
    /**
     * @description 配置键
     */
    private String configKey;
    
    /**
     * @description 配置值
     */
    private String configValue;
    
    /**
     * @description 配置类型（string/number/boolean/json）
     */
    private String configType;
    
    /**
     * @description 配置分组
     */
    private String configGroup;
    
    /**
     * @description 配置描述
     */
    private String description;
    
    /**
     * @description 是否系统配置
     */
    private Boolean isSystem;
    
    /**
     * @description 创建者
     */
    private String creator;
    
    /**
     * @description 更新者
     */
    private String updater;

    public String getConfigKey() {
        return configKey;
    }

    public void setConfigKey(String configKey) {
        this.configKey = configKey;
    }

    public String getConfigValue() {
        return configValue;
    }

    public void setConfigValue(String configValue) {
        this.configValue = configValue;
    }

    public String getConfigType() {
        return configType;
    }

    public void setConfigType(String configType) {
        this.configType = configType;
    }

    public String getConfigGroup() {
        return configGroup;
    }

    public void setConfigGroup(String configGroup) {
        this.configGroup = configGroup;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Boolean getIsSystem() {
        return isSystem;
    }

    public void setIsSystem(Boolean isSystem) {
        this.isSystem = isSystem;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    @Override
    public String toString() {
        return "TbSysConfig{" +
                "id=" + getID() +
                ", configKey='" + configKey + '\'' +
                ", configValue='" + configValue + '\'' +
                ", configType='" + configType + '\'' +
                ", configGroup='" + configGroup + '\'' +
                ", isSystem=" + isSystem +
                '}';
    }
}
