package com.red.circle.wallet.app.dto.cmd;

import com.red.circle.common.business.dto.cmd.AppExtCommand;
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 UserPayAuthCmd extends AppExtCommand {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 密码.
   *
   * @eo.required
   */
  @NotBlank(message = "pwd required.")
  private String pwd;

  /**
   * true设置密码,false修改密码.
   *
   * @eo.required
   */
  @NotNull(message = "status required.")
  private Boolean status;

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


}
