package com.red.circle.mq.business.model.event.game;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.common.business.core.enums.GameStateEnum;
import java.io.Serial;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 房间内团队pk游戏.
 *
 * @author pengshigang on 2022/03/08
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class GameIndoorTeamPkEvent implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 游戏id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long gameId;

  /**
   * 游戏状态.
   */
  private GameStateEnum state;

  /**
   * 延迟分钟.
   */
  private Long delayMinutes;
}
