import { IsString, IsArray } from 'class-validator'; import { ApiProperty } from '@nestjs/swagger'; export class HoldSeatsDto { @ApiProperty() @IsString() tripId: string; @ApiProperty() @IsString() passengerId: string; @ApiProperty({ type: [String] }) @IsArray() seatIds: string[]; @ApiProperty({ required: false }) fareQuoteId?: string; }