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

import com.zhongshu.card.client.type.DictionaryType;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AddDictionaryParam {

    @Schema(name = "id", description = "id", example = "665fc0ef9083d203896d3549")
    private String id;

    @Schema(name = "projectId", description = "项目oid", example = "665fc0ef9083d203896d3549")
    @NotNull(message = "projectId不能为null")
    @NotEmpty(message = "projectId不能为空")
    private String projectId;

    @Schema(name = "key", description = "常量", example = "class")
    @NotNull(message = "类型key不能为null")
    @NotEmpty(message = "类型key不能为空")
    private String key;

    @Schema(name = "name", description = "名称", example = "班级")
    @NotNull(message = "name不能为null")
    @NotEmpty(message = "name不能为空")
    private String name;

    @Schema(name = "description", description = "描述", example = "班级名称")
    private String description;

//    @Schema(name = "type", description = "类型", example = "Customize")
//    private DictionaryType type;

    @Schema(name = "disabled", description = "状态", example = "false")
    private boolean disabled;
}
