Represents a record's polymorphic resource identity, so that it can be queried and referenced dynamically.

interface ExpandedIntermodalUnit {
    descriptionCode?: string;
    resourceId: number;
    resourceType: "IntermodalUnit";
    unitInitial?: string;
    unitNumber?: number;
    waybill?: Waybill;
}

Properties

descriptionCode?: string
resourceId: number

To prevent from having to re-query to get the correct foreign key for known records, we can store this here when passing event information around.

resourceType: "IntermodalUnit"
unitInitial?: string
unitNumber?: number
waybill?: Waybill