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

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

import java.math.BigDecimal;

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

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

  /**
   * 账单归属.
   *
   * @eo.required
   */
  @NotNull(message = "billBelong required.")
  private Integer billBelong;

}
