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 2021/9/13
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class DiamondExchangeGoldCmd extends AppExtCommand {

  /**
   * 兑换数量.
   *
   * @eo.required
   */
  @NotNull(message = "exchangeQuantity required.")
  private BigDecimal exchangeQuantity;

}
