mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 06:28:12 +00:00
24 lines
551 B
TypeScript
24 lines
551 B
TypeScript
import { ApiPropertyOptional } from '@nestjs/swagger';
|
|
import { IsOptional, IsUUID } from 'class-validator';
|
|
|
|
export class GetEligibleBulkBookingsDto {
|
|
@ApiPropertyOptional({ format: 'uuid' })
|
|
@IsOptional()
|
|
@IsUUID()
|
|
originStationId?: string;
|
|
|
|
@ApiPropertyOptional({ format: 'uuid' })
|
|
@IsOptional()
|
|
@IsUUID()
|
|
destinationStationId?: string;
|
|
|
|
@ApiPropertyOptional({ format: 'uuid' })
|
|
@IsOptional()
|
|
@IsUUID()
|
|
trainScheduleId?: string;
|
|
|
|
@ApiPropertyOptional({ example: 'HOLDING' })
|
|
@IsOptional()
|
|
schedulingStatus?: string;
|
|
}
|