package com.yn.bftl.thirdparty.modules.chinaums.dto;

import com.yn.bftl.thirdparty.common.dto.BaseSecretDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * 支付密码重置DTO
 *
 * @author huabiao
 * @create 2023/3/2  15:52
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "PasswordResetDTO", description = "支付密码重置DTO")
public class PasswordResetDTO extends BaseSecretDTO {

    @ApiModelProperty(value = "短信验证码", required = true)
    @NotBlank
    private String smsCode;

    @ApiModelProperty(value = "新支付密码", required = true)
    @NotBlank
    @Length(min = 6, max = 1000)
    private String newPassword;
}
