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

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 UpdateDictionaryParam {

    @Schema(name = "id", description = "数据id", example = "123456")
    @NotEmpty(message = "id不能为空")
    @NotNull(message = "id不能为null")
    private String id;

    @Schema(name = "key", description = "常量", example = "sys_user_sex")
    private String key;

    @Schema(name = "name", description = "名称", example = "性别")
    private String name;

    @Schema(name = "description", description = "描述", example = "人员性别")
    private String description;

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