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

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

  @ApiProperty()
  iracingId!: string;

  @ApiProperty()
  name!: string;

  @ApiProperty()
  country!: string;

  @ApiProperty()
  bio?: string;

  @ApiProperty()
  joinedAt!: string;

  @ApiProperty({ required: false })
  category?: string;

  @ApiProperty({ required: false })
  rating?: number;

  @ApiProperty({ required: false })
  experienceLevel?: string;

  @ApiProperty({ required: false })
  wins?: number;

  @ApiProperty({ required: false })
  podiums?: number;

  @ApiProperty({ required: false })
  totalRaces?: number;

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