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

import java.io.Serial;
import java.io.Serializable;
import java.util.Objects;
import lombok.Data;

/**
 * @author pengliang
 * @since 2020-05-28
 */
@Data
public class LiveVoiceSessionEvent implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 状态.
   */
  private String status;

  /**
   * 会话信息.
   */
  private String sessionId;

  public boolean checkLanguageHall() {
    return Objects.equals(getStatus(), "LANGUAGE_HALL");
  }

}
