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

import com.red.circle.common.business.dto.cmd.AppExtCommand;
import jakarta.validation.constraints.NotNull;
import java.math.BigDecimal;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户银行卡余额兑换金币.
 *
 * @author pengliang on 2023/2/20
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class UserBankExchangeGoldCmd extends AppExtCommand {

  /**
   * 金额.
   *
   * @eo.required
   */
  @NotNull(message = "amount required.")
  private BigDecimal amount;

}
