mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
add Group 9 delivery scenarios for self-haul and last-mile paths
- Implemented G9·S38 tests for customer self-haul truck assignments, ensuring compliance with container limits and truck assignments. - Added G9·S39 tests for last-mile delivery, self-haul, and yard pickup, verifying independent paths for multiple bookings on the same train. - Created seed data for Group 1 and Group 2 scenarios, ensuring proper setup for weight and capacity tests. - Updated booking interface to deprecate in favor of for better clarity in allocations.
This commit is contained in:
@@ -586,7 +586,10 @@ export interface IBooking extends BaseEntity {
|
||||
contractId?: string | null;
|
||||
/** Human-readable reference of the parent contract, joined onto list rows. */
|
||||
contractReference?: string | null;
|
||||
/** @deprecated Fleet master data link — use trainScheduleId for the actual allocation. */
|
||||
trainId?: string | null;
|
||||
/** The train schedule this booking is allocated to, if any. FK to train_schedules. */
|
||||
trainScheduleId?: string | null;
|
||||
status: BookingStatus;
|
||||
/**
|
||||
* Operational status of the assigned train (DRAFT/SCHEDULED/DISPATCHED/
|
||||
|
||||
Reference in New Issue
Block a user