mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 09:30:59 +00:00
12 lines
345 B
TypeScript
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;
|
|
}
|