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

export class GetDashboardDataOutputDTO {
  @ApiProperty()
  @IsNumber()
  totalUsers!: number;

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

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

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