package com.ihooyah.modules.system.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

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

/**
 * 描述
 *
 * @author fatiaojie
 * @date 2020/4/3 11:44
 */
@Getter
@Setter
public class UserDto {

    @NotBlank(message = "用户账户不能为空")
    @ApiModelProperty("用户账户")
    private String account;

    @NotNull(message = "用户id不能为空")
    @ApiModelProperty("用户id")
    private Long id;

    @NotBlank(message = "用户名称不能为空")
    @ApiModelProperty("用户名称")
    private String name;


}
