Files
edr-platform/apps/edr-passenger-api/src/modules/seats/seats.dto.ts
2026-05-13 16:58:49 +03:00

10 lines
349 B
TypeScript

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;
}