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.experimental.Accessors;

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

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "dict_detail_id", type = IdType.AUTO)
    @ApiModelProperty(value = "字典详细数据id")
    private Long dictDetailId;

    /**
     * 字典id
     */
    @ApiModelProperty(value = "字典数据id")
    private Long dictId;

    /**
     * 文本
     */
    @ApiModelProperty(value = "字典文本")
    private String label;

    @ApiModelProperty(value = "字典值")
    @TableField(value = "`value`")
    private String value;


    @ApiModelProperty(value = "扩展字典值")
    private String extField;

    @ApiModelProperty(value = "扩展字典值")
    private String extField2;
}
