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

export class CreateContainerTrainScheduleDto {
  @ApiProperty({ format: 'uuid' })
  @IsUUID()
  routeId!: string;

  @ApiProperty({ example: '2026-06-20T08:00:00.000Z' })
  @IsDateString()
  scheduleDate!: string;

  @ApiProperty({ format: 'uuid' })
  @IsUUID()
  locomotiveId!: string;
}
