package com.cpop.oam.business.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 字典类型参数
 * @version 1.0.0
 * @author DB
 * @since 2023-12-01 15:15
 */
@Data
@Accessors(chain = true)
@Schema(description = "字典类型参数")
public class DictTypeBo {

    /**
     * 主键
     */
    @Schema(description = "主键")
    private String id;

    /**
     * 字典名
     */
    @NotBlank(message = "字典名不能为空")
    @Schema(description = "字典名",requiredMode = Schema.RequiredMode.REQUIRED)
    private String dictName;

    /**
     * 字典类型
     */
    @NotBlank(message = "字典类型不能为空")
    @Schema(description = "字典类型",requiredMode = Schema.RequiredMode.REQUIRED)
    private String dictType;

    /**
     * 状态（0正常 1停用）
     */
    @NotNull(message = "状态不能为空")
    @Schema(description = "状态（0正常 1停用）",requiredMode = Schema.RequiredMode.REQUIRED)
    private Boolean status;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;
}
