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

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 金币统计.
 *
 * @author pengliang on 2023/8/24
 */
@Data
@Accessors(chain = true)
public class WalletGoldCountDTO implements Serializable {

  /**
   * 记录id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

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

  /**
   * 分组编号.
   */
  private Integer groupNum;

  /**
   * 事件类型.
   */
  private String eventType;

  /**
   * 事件描述.
   */
  private String eventDesc;

  /**
   * 金额.
   */
  private BigDecimal amount;

  /**
   * 占用率.
   */
  private BigDecimal percentage;

}
