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

export class UpdateTrainYardDto {
  @ApiProperty({
    format: 'uuid',
    description:
      'Yard the train now sits in. The coupled locomotives and wagons are relocated with it.',
  })
  @IsUUID()
  currentYardId!: string;
}
