package com.agileboot.system.config.entity;

import com.agileboot.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;

/**
 * <p>
 * 参数配置表
 * </p>
 *
 * @author valarchie
 * @since 2022-11-03
 */
@Getter
@Setter
@TableName("sys_config")
@ApiModel(value = "SysConfig对象", description = "参数配置表")
public class SysConfig extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty("配置名称")
    private String configName;

    @ApiModelProperty("配置键名")
    private String configKey;

    @ApiModelProperty("可选的选项")
    private String configOptions;

    @ApiModelProperty("配置值")
    private String configValue;

    @ApiModelProperty("是否允许修改")
    private Boolean isAllowChange;

    @ApiModelProperty("备注")
    private String remark;

}
