package com.storlead.system.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;

import com.storlead.framework.mybatis.entity.SysBaseField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Value;
import lombok.experimental.Accessors;

/**
 * <p>
 * 字典组
 * </p>
 *
 * @author chenkq
 * @since 2022-09-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_dict")
public class SysDictEntity extends SysBaseField {

    private static final long serialVersionUID = 1L;

    @TableId(value = "dict_id", type = IdType.AUTO)
    @ApiModelProperty(value = "字典数据id")
    private Long dictId;

    @ApiModelProperty(value = "0:系统字典，1：业务字典")
    private Integer dictType;

    @ApiModelProperty(value = "code")
    private String code;

    @ApiModelProperty(value = "名称")
    @TableField(value = "`name`")
    private String name;

    @ApiModelProperty(value = "描述")
    private String description;
}
