package com.ai.da.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;

@Data
@Schema(description = "邮箱发送")
public class EmailSendDTO {
    @Schema(description = "用户id")
    private Long userId;

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

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

    @Schema(description = "异常ip")
    private String ip;

    @Schema(description = "国家")
    private String country;

    @Schema(description = "职业")
    private String occupation;

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


}
