package cn.qinys.platform.upms.api.req;

import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Description:
 *
 * @author tanlie
 * Date: 2024/2/27 8:42
 */
@Data
public class DictionaryOptionCreateReq implements Serializable {
    /**
     * 字典Id
     */
    @NotBlank(message = "字典Id不能为空")
    private String dictId;
    /**
     * 字典label
     */
    @NotNull(message = "字典label不能为空")
    private String dictLabel;
    /**
     * 字典value
     */
    @NotNull(message = "字典value不能为空")
    private String dictValue;
    /**
     * 排序
     */
    private Integer ord;

}
