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 EmailSendDTO {
    @ApiModelProperty("用户id")
    private Long userId;

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

    @NotBlank(message = "operationType.cannot.be.empty")
    @ApiModelProperty("操作类型  LOGIN 登录  FORGET_PWD 忘记密码 BIND_MAILBOX 绑定邮箱 " +
            "CHANGE_MAILBOX 更改邮箱 UPDATE_USERINFO 仅填写国家、职业（不发送邮件） REGISTER 注册")
    private String operationType;

    @ApiModelProperty("异常ip")
    private String ip;

    @ApiModelProperty("国家")
    private String country;

    @ApiModelProperty("职业")
    private String occupation;

    private String title;
    private String surname;
    private String givenName;


}
