/**
 * Copyright (c) 2018 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有，侵权必究！
 */

package com.qnfhq.modules.user.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;


/**
 * 重设密码
 *
 * @author Yelz 30262728@qq.com
 */
@Data
@Schema(title = "重设密码表单")
public class ResetPwdEmailDTO {

    @Schema(title = "密码")
    @NotBlank(message="{NotBlank.password}")//密码不能为空
    private String newPwd;

    @Schema(title = "邮箱")
    @NotBlank(message="{NotBlank.email}")//邮箱不能为空
    private String email;



}
