package com.red.circle.other.infra.database.rds.entity.live;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.red.circle.framework.mybatis.entity.TimestampBaseEntity;
import java.io.Serial;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系统热门房间.
 * </p>
 *
 * @author pengshigang
 * @since 2022-05-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_hot_room")
public class HotRoom extends TimestampBaseEntity {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 房间id.
   */
  @TableId("room_id")
  private Long roomId;

  /**
   * 归属系统.
   */
  @TableField("sys_origin")
  private String sysOrigin;

  /**
   * 权重.
   */
  @TableField("weights")
  private Integer weights;

  /**
   * 开始时间.
   */
  @TableField("start_time")
  private Timestamp startTime;

  /**
   * 过期时间.
   */
  @TableField("expired_time")
  private Timestamp expiredTime;

}
