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

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

/**
 * <p>
 * 加入游戏.
 * </p>
 *
 * @author pengliang
 * @since 2021-09-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class GameLudoJoinCmd extends AppExtCommand {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 游戏id.
   *
   * @eo.required
   */
  @NotNull(message = "id required.")
  private Long id;

  /**
   * 玩家用户ID.
   *
   * @eo.required
   */
  @NotNull(message = "playerUserId required.")
  private Long playerUserId;

}
