import { ApiProperty } from '@nestjs/swagger';

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

  @ApiProperty()
  name!: string;

  @ApiProperty()
  date!: string;

  @ApiProperty({ nullable: true })
  leagueName?: string;
}