package com.m2pool.lease.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotNull;

/**
 * @Description 用户登录对象
 * @Date 2024/6/12 16:13
 * @Author dy
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class EmailCodeVo {
    /** 邮箱 */
    @NotNull(message = "用户邮箱不能为空")
    @Email(message = "邮箱格式错误")
    private String email;
}
