package com.red.circle.live.app.dto.cmd;

import com.red.circle.common.business.dto.cmd.AppExtCommand;
import jakarta.validation.constraints.NotBlank;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户心跳上传.
 * </p>
 *
 * @author pengliang on 2023/12/12
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class HeartbeatUploadCmd extends AppExtCommand {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 状态（VOICE_LIVE：语音直播、ONLINE：在线）.
   *
   * @eo.required
   */
  @NotBlank(message = "status required")
  private String status;

  /**
   * 是否定时调用(true 是，false 否).
   */
  private Boolean task;

  /**
   * 房间会话ID.
   */
  private String sessionId;

  /**
   * 是否在麦克风上true:在, false 不在.
   */
  private Boolean upMick;
}
