mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-08 07:45:45 +00:00
add export/inport number
This commit is contained in:
@@ -20,6 +20,16 @@ export class CreateWagonDto {
|
||||
// Tare weight and payload capacity are not accepted here: they belong to the
|
||||
// wagon type and are resolved through wagonTypeId.
|
||||
|
||||
/** EXPORT run number — odd, Ethiopia → Djibouti (e.g. 8001). */
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
exportTrainNumber?: string;
|
||||
|
||||
/** IMPORT run number — even, Djibouti → Ethiopia (e.g. 8002). */
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
importTrainNumber?: string;
|
||||
|
||||
@IsOptional()
|
||||
@IsEnum(WagonStatus)
|
||||
status?: WagonStatus;
|
||||
|
||||
Reference in New Issue
Block a user