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.NotNull;
import java.io.Serializable;

/**
 * @author fancl
 * @desc:
 * @date 2022/8/18
 */

@ToString
@Getter
@Setter
public class DictUpdateReqVO implements Serializable {

    @ApiModelProperty(value = "id")
    @NotNull(message = "id不能为空")
    private Integer id;

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

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


}
