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

export class DriversLeaderboardDTO {
  @ApiProperty({ type: [DriverLeaderboardItemDTO] })
  drivers!: DriverLeaderboardItemDTO[];

  @ApiProperty()
  totalRaces!: number;

  @ApiProperty()
  totalWins!: number;

  @ApiProperty()
  activeCount!: number;
}