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 {

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

    @NotBlank(message = "operationType.cannot.be.empty")
    @ApiModelProperty("操作类型  LOGIN 注册  FORGET_PWD 忘记密码 BIND_MAILBOX 绑定邮箱")
    private String operationType;

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

}
