package com.red.circle.other.inner.model.cmd.sys;

import com.red.circle.framework.core.dto.CommonCommand;
import java.io.Serial;
import java.math.BigDecimal;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系统操作收支明细.
 * </p>
 *
 * @author pengshigang
 * @since 2021-06-02
 * @since pengliang 2021-10-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SysOperationIncomeExpenditureCmd extends CommonCommand {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  private Long id;

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

  /**
   * 关联id.
   */
  private String associateId;

  /**
   * 数量.
   */
  private BigDecimal quantity;

  /**
   * 当前余额.
   */
  private BigDecimal balance;

  /**
   * 货币类型.
   */
  private String currencyType;

  /**
   * 类型0.收入 1.消耗.
   */
  private Integer type;

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

  /**
   * 奖励类型：0.App 1.奖励 2.内部 3.工资 4.其他.
   */
  private Integer reason;

  /**
   * 当前余额.
   */
  private BigDecimal usdCandy;

}
