package com.lesingle.creation.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lesingle.creation.common.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 字典项表实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_sys_dict_item")
public class DictItem extends BaseEntity {

    /**
     * 字典 ID
     */
    @TableField("dict_id")
    private Long dictId;

    /**
     * 字典项标签
     */
    @TableField("label")
    private String label;

    /**
     * 字典项值
     */
    @TableField("value")
    private String value;

    /**
     * 排序
     */
    @TableField("sort")
    private Integer sort;

    /**
     * 有效状态：1-有效，2-失效
     */
    @TableField("valid_state")
    private Integer validState;
}
