package com.red.circle.other.app.dto.cmd.room;

import com.red.circle.common.business.dto.cmd.AppExtCommand;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 提下麦克风.
 *
 * @author pengliang on 2021/9/10
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class KickOffMicrophoneCmd extends AppExtCommand {

  /**
   * 房间id.
   *
   * @eo.required
   */
  @NotNull(message = "roomId required.")
  private Long roomId;

  /**
   * 被t用户.
   *
   * @eo.required
   */
  @NotNull(message = "kickUserId required.")
  private Long kickUserId;

  /**
   * 操作用户id.
   */
  private Long opUserId;

  /**
   * 原因： 提供给客户端， 做描述， 不做具体逻辑； 只做请求日志记录.
   */
  private String reason;

}
