package com.example.demo.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 字典项实体模型。
 *
 * <p>用于维护系统中的数据字典，如业务类型、状态枚举等常量数据。</p>
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "字典项实体")
public class DictItem {

    /** 字典ID */
    @Schema(description = "字典ID")
    private Long dictId;

    /** 字典类型编码 */
    @Schema(description = "字典类型编码")
    private String dictType;

    /** 字典类型名称 */
    @Schema(description = "字典类型名称")
    private String dictTypeName;

    /** 字典项键 */
    @Schema(description = "字典项键")
    private String itemKey;

    /** 字典项值 */
    @Schema(description = "字典项值")
    private String itemValue;

    /** 排序号 */
    @Schema(description = "排序号")
    private Integer sortOrder;

    /** 状态：0-禁用，1-启用 */
    @Schema(description = "状态：0-禁用，1-启用")
    private Integer status;
}
