package cn.reghao.autodop.dmaster.rbac.model.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author reghao
 * @date 2021-07-12 16:06:11
 */
@Data
public class UserInfo implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer userId;
    @NotBlank(message = "用户名不能为空白字符串")
    private String nickname;
    // TODO 验证邮箱和手机号码是否有效
    private String mobilePhone;
    private String email;
}
