package com.m2pool.system.api.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CloseAccountVo {

    @Email
    private String userEmail;

    /**
     * 谷歌验证器验证码
     */
    @ApiModelProperty(value = "谷歌验证码",required = true)
    public long gCode;

    /**
     * 邮箱验证码
     */
    @NotBlank
    @ApiModelProperty(value = "邮箱验证码",required = true)
    public String eCode;

}
