package com.cpop.system.business.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

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

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private String id;

    /**
     * 字典名
     */
    @NotBlank(message = "字典名不能为空")
    @ApiModelProperty(value = "字典名",required = true)
    private String dictName;

    /**
     * 字典类型
     */
    @NotBlank(message = "字典类型不能为空")
    @ApiModelProperty(value = "字典类型",required = true)
    private String dictType;

    /**
     * 状态（0正常 1停用）
     */
    @NotNull(message = "状态不能为空")
    @ApiModelProperty(value = "状态（0正常 1停用）",required = true)
    private Boolean status;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;
}
