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

import com.red.circle.framework.core.dto.CommonCommand;
import com.red.circle.wallet.inner.model.enums.UserSalaryDiamondWaterEvent;
import jakarta.validation.constraints.NotNull;
import java.io.Serial;
import java.math.BigDecimal;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 用户银行现金操作.
 *
 * @author pengshigang on 2023/2/17
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class UserSalaryDiamondCmd extends CommonCommand {

  @Serial
  private static final long serialVersionUID = 1L;

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

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

  /**
   * 系统.
   */
  private String sysOrigin;

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

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

  /**
   * 事件.
   */
  private UserSalaryDiamondWaterEvent event;


}
