package com.ho.user.vo.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @Description 添加类型
 * Author yule
 * Date 2022/8/23 15:25
 */
@ToString
@Getter
@Setter
public class DictAddTypeVO {

    @ApiModelProperty(value = "参数类型")
    @NotBlank(message = "参数类型不能为空")
    @Length(max = 50,message = "类型不能超过50个字符")
    private String type;

    @ApiModelProperty(value = "参数类型名称")
    @NotBlank(message = "参数类型名称不能为空")
    @Length(max = 50,message = "描述不能超过50个字符")
    private String typeName;

}
