package com.ai.da.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("账户")
public class AccountRegisterDTO {

    @NotBlank(message = "email.cannot.be.empty")
    @ApiModelProperty("邮箱")
    private String email;

    private Boolean verifyEmail;
//    @NotBlank(message = "password.cannot.be.empty")
    @ApiModelProperty("密码")
    private String password;

    @NotBlank(message = "emailVerifyCode.cannot.be.empty")
    @ApiModelProperty("邮箱验证码")
    private String emailVerifyCode;

}
