package com.cool.store.request.wallet;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 账户密码维护Request
 * </p>
 *
 * @author wangff
 * @since 2025/11/17
 */
@Data
public class AccountPasswordRequest extends StoreShopRequest {

    @ApiModelProperty("维护类型 1.设置密码 2.修改密码")
    @NotNull(message = "维护类型不能为空")
    private Integer upholdType;

    @ApiModelProperty("新支付密码(sm3加密后字符串)")
    @NotNull(message = "新支付密码不能为空")
    private String newPayPwd;

    @ApiModelProperty("确认新支付密码(sm3加密后字符串)")
    @NotNull(message = "确认新支付密码不能为空")
    private String confirmPayPwd;

    @ApiModelProperty("当前使用的支付密码(sm3加密后字符串),维护类型为修改密码时必填")
    private String currentPayPwd;
}
