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

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

  @ApiProperty()
  iracingId!: string;

  @ApiProperty()
  name!: string;

  @ApiProperty()
  country!: string;

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

  @ApiProperty()
  joinedAt!: string;

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