Skip to main content

ShipmentTracking

The ShipmentTracking entity, mapped to the shipment_tracking table.

Tableshipment_tracking
Tenant-scopedYes — extends TenantOwned
Columns6
Relationships2
Sourcebackend/src/main/java/com/motorph/payroll/model/ShipmentTracking.java

Columns​

FieldTypeColumnNullNotes
trackingIdIntegertracking_id—primary key, generated
statusStringstatus——
carrierStringcarrierYes—
trackingNoStringtracking_noYes—
notesStringnotesYes—
createdAtLocalDateTimecreated_at——

Plus tenant_id, inherited from TenantOwned. Hibernate stamps it on insert and adds where tenant_id = ? to every query, so it is never written or read by application code.

Relationships​

FieldKindTargetJoin columnRequired
order@ManyToOneCustomerOrderorder_idYes
updatedBy@ManyToOneUserupdated_by—

Referenced by​

EntityFieldKind
CustomerOrdertrackingHistory@OneToMany

Neighbourhood​

Repository​

ShipmentTrackingRepository​

Declared over ShipmentTracking with id type Integer. Source: backend/src/main/java/com/motorph/payroll/repository/ShipmentTrackingRepository.java

Reached by​

These controllers hold — directly or through a service they depend on — a repository over ShipmentTracking.

ControllerBase pathEndpointsModule
PortalAdminController/api/portal/admin3Inventory & Portal

Generated page

This page is rebuilt from the source on every docs build by docs-site/scripts/gen-code-wiki.mjs. Editing it has no effect — change the code, or, if what you want to say is prose, write it in docs/.