package com.example.demo.model;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 系统参数配置实体。
 */
@Schema(description = "系统参数配置实体")
public class Config {

    @Schema(description = "参数ID")
    private Long id;

    @Schema(description = "参数名称")
    private String configName;

    @Schema(description = "参数键")
    private String configKey;

    @Schema(description = "参数值")
    private String configValue;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "状态：0-停用，1-启用")
    private Integer status;

    public Config() {
    }

    public Config(Long id, String configName, String configKey, String configValue, String remark, Integer status) {
        this.id = id;
        this.configName = configName;
        this.configKey = configKey;
        this.configValue = configValue;
        this.remark = remark;
        this.status = status;
    }

    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    public String getConfigName() { return configName; }
    public void setConfigName(String configName) { this.configName = configName; }
    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 getRemark() { return remark; }
    public void setRemark(String remark) { this.remark = remark; }
    public Integer getStatus() { return status; }
    public void setStatus(Integer status) { this.status = status; }
}
