Skip to main content

WarehouseTransfer

The WarehouseTransfer entity, mapped to the warehouse_transfer table.

Tablewarehouse_transfer
Tenant-scopedYes — extends TenantOwned
Columns5
Relationships4
Sourcebackend/src/main/java/com/motorph/payroll/model/WarehouseTransfer.java

Columns​

FieldTypeColumnNullNotes
transferIdIntegertransfer_id—primary key, generated
quantityIntegerquantity——
notesStringnotesYes—
statusStringstatus——
transferredAtLocalDateTimetransferred_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
item@ManyToOneInventoryItemitem_id—
fromLocation@ManyToOneWarehouseLocationfrom_location_id—
toLocation@ManyToOneWarehouseLocationto_location_id—
performedBy@ManyToOneUserperformed_by—

Neighbourhood​

Repository​

WarehouseTransferRepository​

Declared over WarehouseTransfer with id type Integer, with JpaSpecificationExecutor for dynamic filtering. Source: backend/src/main/java/com/motorph/payroll/repository/WarehouseTransferRepository.java

Reached by​

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

ControllerBase pathEndpointsModule
WarehouseTransferController/api/inventory/transfers2Inventory & 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/.