package com.red.circle.other.inner.model.dto.count;

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

/**
 * 房间活跃指标.
 *
 * @author pengliang on 2022/3/24
 */
@Data
@Accessors(chain = true)
@FieldDefaults(level = AccessLevel.PRIVATE)
public class RoomActiveIndexDTO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 在线人数.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long onlineUserQuantity;

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

  /**
   * 发送礼物总价值
   */
  private BigDecimal sendGiftAmount;

  /**
   * 统计时间范围.
   */
  private String timeRange;

}
