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.sql.Timestamp;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 房间活跃统计.
 *
 * @author pengliang on 2022/3/24
 */
@Data
@Accessors(chain = true)
public class StatisticsRoomActiveDTO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 记录id.
   */
  private String id;

  /**
   * 房间Id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long roomId;

  /**
   * 房主ID.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long userId;

  /**
   * 归属平台.
   */
  private String sysOrigin;

  /**
   * 活跃指标.
   */
  private RoomActiveIndexDTO roomActiveIndex;

  /**
   * 创建时间.
   */
  private Timestamp createTime;

  /**
   * 过期时间
   */
  private Timestamp expiredTime;
}
