package com.zhongshu.card.client.model.dictionary;

import com.zhongshu.card.client.type.DictionaryType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.stereotype.Indexed;

@Data
public class DictionaryModel {

    private String id;

    private Long createTime;

    private Long updateTime;

    //项目id
    @Schema(description = "项目id")
    private String projectId;

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

    //名称
    @Schema(description = "字典名称")
    private String name;

    //描述
    @Schema(description = "描述")
    private String description;

    @Schema(description = "类型")
    private DictionaryType type;

    //启动/禁用
    @Schema(description = "状态")
    private boolean disabled;
}
