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

export class AllRacesPageDTO {
  @ApiProperty({ type: [RaceViewModel] })
  races!: RaceViewModel[];

  @ApiProperty()
  totalCount!: number;
}