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

import com.red.circle.framework.core.dto.CommonCommand;
import jakarta.validation.constraints.NotNull;
import java.io.Serial;
import java.math.BigDecimal;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户金币操作-扣除.
 *
 * @author pengliang on 2022/7/21
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class DeductGoldCmd extends CommonCommand {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 用户id.
   */
  @NotNull
  private Long userId;

  /**
   * 金币数量.
   */
  @NotNull
  private BigDecimal quantity;

  /**
   * 备注.
   */
  private String remarks;

  /**
   * 后台操作用户id.
   */
  private Long operationUserId;

}
