import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty, IsString } from 'class-validator';

export class SetCarDeliveryDto {
  @ApiProperty({ description: 'Car model', example: 'Toyota Camry' })
  @IsNotEmpty()
  @IsString()
  carModel!: string;

  @ApiProperty({ description: 'Car color', example: 'White' })
  @IsNotEmpty()
  @IsString()
  carColor!: string;

  @ApiProperty({ description: 'License plate number', example: '12ABC345' })
  @IsNotEmpty()
  @IsString()
  plateNumber!: string;
}
