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

class LiveryDTO {
  @ApiProperty()
  id!: string;

  @ApiProperty()
  name!: string;

  @ApiProperty()
  imageUrl!: string;

  @ApiProperty()
  createdAt!: string;

  @ApiProperty()
  isActive!: boolean;
}

export class GetDriverLiveriesOutputDTO {
  @ApiProperty({ type: [LiveryDTO] })
  liveries!: LiveryDTO[];
}