mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 01:48:12 +00:00
20 lines
501 B
TypeScript
20 lines
501 B
TypeScript
import { ApiPropertyOptional } from '@nestjs/swagger';
|
|
import { IsDateString, IsOptional, IsUUID } from 'class-validator';
|
|
|
|
export class GetEligibleContainerBookingsDto {
|
|
@ApiPropertyOptional({ format: 'uuid' })
|
|
@IsOptional()
|
|
@IsUUID()
|
|
originStationId?: string;
|
|
|
|
@ApiPropertyOptional({ format: 'uuid' })
|
|
@IsOptional()
|
|
@IsUUID()
|
|
destinationStationId?: string;
|
|
|
|
@ApiPropertyOptional({ example: '2026-06-20T08:00:00.000Z' })
|
|
@IsOptional()
|
|
@IsDateString()
|
|
scheduleDate?: string;
|
|
}
|