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

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;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "PasswordUpdateDTO", description = "支付密码修改DTO")
public class ByxChinaumsPasswordUpdateDTO extends BaseSecretDTO {

    @ApiModelProperty(value = "商户订单号")
    private String mctOrderNo;

    @ApiModelProperty(value = "原支付密码", required = true)
    @NotBlank
    private String encryptOrigPwd;

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

    @ApiModelProperty(value = "电子账户 ID", required = true)
    private String walletId;

    private String remark;

}
