mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
10 lines
349 B
TypeScript
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;
|
|
}
|