package cc.mrbird.febs.mall.dto; import io.swagger.annotations.Api; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.validation.constraints.NotBlank; /** * @author wzy * @date 2021-09-16 **/ @Data @ApiModel(value = "ForgetPwdDto", description = "忘记/修改密码参数接收类") public class ForgetPwdDto { @NotBlank(message = "The password cannot be empty") @ApiModelProperty(value = "新密码", example = "123456") private String password; @NotBlank(message = "The new password cannot be empty") @ApiModelProperty(value = "新密码", example = "123456") private String newPassword; @NotBlank(message = "Confirm that the new password cannot be empty") @ApiModelProperty(value = "新密码", example = "123456") private String newPasswordAgain; }