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