package com.sptg.permissions.api.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * title: Conf
 * package: com.sptg.permissions.api.entity
 * description: 配置信息
 *
 *                  
 *                
 */
@Setter
@Getter
@TableName(value = "sys_conf")
public class Conf implements java.io.Serializable {

    /**
     * 主键
     */
    @TableId(value = "l_id",type = IdType.AUTO)
    private Long id;

    /**
     * 配置名称
     */
    @TableField(value = "s_conf_name")
    private String confName;

    /**
     * 配置描述
     */
    @TableField(value = "s_conf_describe")
    private String confDescribe;

    /**
     * 用于获取配置的标识
     */
    @TableField(value = "s_conf_token")
    private String confToken;

    /**
     * 配置值
     */
    @TableField(value = "s_conf_value")
    private String confValue;

    /**
     * 创建人Id
     */
    @TableField(value = "l_create_account_id")
    private Long createAccountId;

    /**
     * 创建时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @TableField(value = "t_create_date")
    private Date createDate;

}
