package com.red.circle.wallet.inner.model.tmp;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户支付密码设置.
 *
 * @author zongpubin on 2023/11/30
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class UserPayAuthRestApiCmd extends CommonRestApiCmd {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 密码.
   */
  @NotBlank(message = "pwd {not.null}")
  private String pwd;

  /**
   * true设置密码,false修改密码.
   */
  @NotNull(message = "status {not.null}")
  private Boolean status;

  /**
   * 旧密码.
   */
  private String originalPwd;


}
