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

export class RaceWithSOFDTO {
  @ApiProperty()
  @IsString()
  id!: string;

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

  @ApiProperty({ nullable: true })
  strengthOfField!: number | null;
}