package cn.reghao.oss.console.account.model.dto;

import lombok.Data;

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

/**
 * @author reghao
 * @date 2021-07-12 16:06:11
 */
@Data
public class UserUpdateDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotNull(message = "用户 ID 不能为 NULL")
    private Integer userId;
    @NotBlank(message = "用户名不能为空白字符串")
    private String screenName;
    // TODO 验证邮箱和手机号码是否有效
    private String mobile;
    private String email;
}
