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

import com.red.circle.framework.core.dto.CommonCommand;
import jakarta.validation.constraints.NotNull;
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 = true)
@Accessors(chain = true)
public class SysHotRoomCmd extends CommonCommand {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 房间id.
   */
  @NotNull
  private Long roomId;

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

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

  /**
   * 开始时间.
   */
  @NotNull
  private Timestamp startTime;

  /**
   * 过期时间.
   */
  @NotNull
  private Timestamp expiredTime;

}
