import { ApiProperty } from '@nestjs/swagger';
import { IsString } from 'class-validator';
import { RaceResultDto } from './RaceResultDto';

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

  @ApiProperty()
  @IsString()
  track!: string;

  @ApiProperty({ type: [RaceResultDto] })
  results!: RaceResultDto[];
}