import { ApiProperty } from '@nestjs/swagger';
import { IsString, IsNotEmpty } from 'class-validator';

export class RegisterForRaceParamsDTO {
  @ApiProperty()
  @IsString()
  @IsNotEmpty()
  raceId!: string;

  @ApiProperty()
  @IsString()
  @IsNotEmpty()
  leagueId!: string;

  @ApiProperty()
  @IsString()
  @IsNotEmpty()
  driverId!: string;
}