package com.hzs.common.domain.system.base;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系统配置表
 * </p>
 *
 * @author hzs
 * @since 2022-09-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("BD_SYSTEM_CONFIG")
@KeySequence("BD_SYSTEM_CONFIG_SEQ")
public class BdSystemConfig extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("PK_ID")
    private Long pkId;

    /**
     * 标题
     */
    @TableField("LABEL")
    private String label;

    /**
     * 唯一键，redis的key
     */
    @TableField("KEY")
    private String key;

    /**
     * 值
     */
    @TableField("VALUE")
    private String value;


}
