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;

/**
 * @author pengliang on 2020/12/12 18:34
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class RoomEntryCmd extends AppExtCommand {

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

  /**
   * 进入用户： 提供Android客户端排查用户id会被串改问题.
   */
  private Long entryUserId;

  /**
   * 密码.
   */
  private String pwd;

  /**
   * 提供给android, 错误日志描述(日志描述字段，无任何业务逻辑处理).
   */
  private String reason;

}
