package com.fdkanfang.domain.dto;

import lombok.Data;

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

/**
 * Created by owen on 2020/2/18 0018 17:09
 */
@Data
public class UserDto {

    private Long id;

    @NotBlank(message = "userName不能为空")
    private String userName;

//    @NotNull
    private String password;

    @NotNull
    private String realName; // 真实姓名

    @NotNull
    private String phone;

    private int sex; // 0:男  1：女

//    @Email
//    private String email;

    private String identity;


    private String nickname; //昵称

}
