Files
edr-platform/apps/edr-freight-api/src/modules/train-scheduling/dto/move-wagon-load.dto.ts

12 lines
345 B
TypeScript

import { IsUUID } from 'class-validator';
export class MoveWagonLoadDto {
/**
* Where the source wagon's whole load goes: a train-set wagon slot (empty →
* move, loaded → swap the two loads) or an empty consist-only physical wagon
* of the built train (→ the slot repins onto it).
*/
@IsUUID()
targetWagonId!: string;
}