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

export class LeagueStatsDTO {
  @ApiProperty()
  @IsNumber()
  totalMembers: number;

  @ApiProperty()
  @IsNumber()
  totalRaces: number;

  @ApiProperty()
  @IsNumber()
  averageRating: number;
}