Files
gridpilot.gg/apps/api/src/domain/race/dtos/DashboardLeagueStandingSummaryDTO.ts
2025-12-17 14:04:11 +01:00

24 lines
420 B
TypeScript

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;
}