package com.competition.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.competition.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 数据字典项实体
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_sys_dict_item")
@Schema(description = "数据字典项实体")
public class SysDictItem extends BaseEntity {

    @Schema(description = "字典ID")
    @TableField("dict_id")
    private Long dictId;

    @Schema(description = "标签")
    private String label;

    @Schema(description = "值")
    private String value;

    @Schema(description = "排序")
    private Integer sort;
}
