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

export class DashboardLeagueStandingSummaryDTO {
  @ApiProperty()
  @IsString()
  leagueId!: string;

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

  @ApiProperty()
  @IsNumber()
  position!: number;

  @ApiProperty()
  @IsNumber()
  totalDrivers!: number;

  @ApiProperty()
  @IsNumber()
  points!: number;
}