import { ApiProperty } from '@nestjs/swagger';
import { IsUUID } from 'class-validator';

export class AvailableLocomotivesQueryDto {
  @ApiProperty({ format: 'uuid', description: 'Route used to filter locomotives at the origin yard' })
  @IsUUID()
  routeId!: string;
}
