package com.red.circle.other.infra.database.mongo.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.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 房间活跃指数.
 *
 * @author pengliang on 2022/3/24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class RoomActiveIndexDTO implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 发送礼物用户数量.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long sendGiftUserQuantity;

  /**
   * 发送礼物总金额.
   */
  private BigDecimal sendGiftAmount;

}
