package cn.stylefeng.team.meta.modular.pojo.metadict;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class MetaUserDictItem {

    @ChineseDescription("字典id")
    private Long dictId;

    @ChineseDescription("字典编码")
    @NotBlank(message = "字典编码不能为空")
    private String dictCode;

    @ChineseDescription("字典名称")
    @NotBlank(message = "字典名称不能为空")
    private String dictName;

    @ChineseDescription("字典排序")
    @NotNull(message = "字典排序不能为空")
    private BigDecimal dictSort;

}
