Skip to main content

OrderStage

The OrderStage entity, mapped to the order_stage table.

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

Columns​

FieldTypeColumnNullNotes
stageIdIntegerstage_id—primary key, generated
stageIndexIntegerstage_index——
stageNameStringstage_name——
statusStringstatus——
notesStringnotesYes—
completedAtLocalDateTimecompleted_atYes—

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@ManyToOneInventoryOrderorder_idYes
assignee@ManyToOneUserassignee_id—

Referenced by​

EntityFieldKind
InventoryOrderstages@OneToMany

Neighbourhood​

Repository​

No Spring Data repository is declared over this entity. It is reached through another entity's association, through the EntityManager directly, or it is written only by a migration.


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/.