mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-28 21:50:57 +00:00
[200~feat: add CustomsPaymentsCard and PaymentsTab components for handling customs payments and payment summaries
This commit is contained in:
@@ -120,6 +120,16 @@ export class TrainSchedule extends BaseEntity {
|
||||
@Column({ name: 'max_wagons', type: 'int', default: 53 })
|
||||
maxWagons!: number;
|
||||
|
||||
/**
|
||||
* Where THIS departure plans to board each consist wagon: `{ wagonId: yardId }`.
|
||||
* Sparse — a wagon absent from the map boards from its physical
|
||||
* `wagons.current_yard_id`. Independent of the built train's physical spread
|
||||
* so a departure can be sold from Dire while the steel still stands in Mojo;
|
||||
* dispatch requires plan and physical yards to agree.
|
||||
*/
|
||||
@Column({ name: 'planned_wagon_yards', type: 'jsonb', nullable: true })
|
||||
plannedWagonYards?: Record<string, string> | null;
|
||||
|
||||
/** OPEN = accepting/holding bookings; FULL = train filled; CLOSED = manually closed. Orthogonal to `status`. */
|
||||
@Column({ name: 'booking_window_status', type: 'varchar', length: 10, default: 'OPEN' })
|
||||
bookingWindowStatus!: string;
|
||||
|
||||
Reference in New Issue
Block a user