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

export class DriverProfileDriverSummaryDTO {
  @ApiProperty()
  id!: string;

  @ApiProperty()
  name!: string;

  @ApiProperty()
  country!: string;

  @ApiProperty({ nullable: true })
  avatarUrl!: string | null;

  @ApiProperty({ nullable: true })
  iracingId!: string | null;

  @ApiProperty()
  joinedAt!: string;

  @ApiProperty({ nullable: true })
  category!: string | null;

  @ApiProperty({ nullable: true })
  rating!: number | null;

  @ApiProperty({ nullable: true })
  globalRank!: number | null;

  @ApiProperty({ nullable: true })
  consistency!: number | null;

  @ApiProperty({ nullable: true })
  bio!: string | null;

  @ApiProperty({ nullable: true })
  totalDrivers!: number | null;
}