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

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonFormat.Shape;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.other.inner.model.dto.live.RoomProfileDTO;
import java.io.Serial;
import java.io.Serializable;
import java.sql.Timestamp;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系统热门房间.
 * </p>
 *
 * @author pengshigang
 * @since 2022-05-06
 */
@Data
@Accessors(chain = true)
public class SysHotRoomDTO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

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

  /**
   * 归属系统.
   */
  private String sysOrigin;

  /**
   * 权重.
   */
  private Integer weights;

  /**
   * 开始时间.
   */
  @JsonFormat(shape = Shape.NUMBER)
  private Timestamp startTime;

  /**
   * 过期时间.
   */
  @JsonFormat(shape = Shape.NUMBER)
  private Timestamp expiredTime;

  /**
   * 状态描述.
   */
  private String statusDesc;

  /**
   * 房间资料.
   */
  private RoomProfileDTO roomProfile;

}
