schedule logic

This commit is contained in:
Marshal
2026-06-10 09:22:57 +00:00
parent 0335555892
commit 088295d81f
23 changed files with 1766 additions and 319 deletions

View File

@@ -146,6 +146,22 @@ export enum WagonReadiness {
export type ScheduleTradeDirection = "IMPORT" | "EXPORT" | "DOMESTIC";
export enum TrainCheckpointKind {
Departed = "DEPARTED",
Passed = "PASSED",
Arrived = "ARRIVED",
}
export interface ITrainCheckpointEvent extends BaseEntity {
trainScheduleId: string;
yardId: string;
sequenceNo: number;
kind: TrainCheckpointKind;
occurredAt: string;
note?: string | null;
recordedByUserId?: string | null;
}
export enum BulkPricingUnit {
PerWagon = "PER_WAGON",
PerTon = "PER_TON",