Skip to main content

ReimbursementTransaction

The ReimbursementTransaction entity, mapped to the reimbursement_transactions table.

Tablereimbursement_transactions
Tenant-scopedYes — extends TenantOwned
Columns6
Relationships1
Sourcebackend/src/main/java/com/motorph/payroll/model/ReimbursementTransaction.java

Columns​

FieldTypeColumnNullNotes
transactionIdIntegertransaction_id—primary key, generated
transactionDateLocalDatetransaction_date——
amountBigDecimalamount——
paidToStringpaid_to——
paymentMethodStringpayment_methodYes—
detailsStringdetailsYes—

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
request@ManyToOneReimbursementRequestrequest_idYes

Neighbourhood​

Repository​

ReimbursementTransactionRepository​

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

MethodReturnsNotes
findWithDetailsByTransactionId(Integer transactionId)Optional<ReimbursementTransaction>derived

Reached by​

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

ControllerBase pathEndpointsModule
ReimbursementTransactionController/api/reimbursement-transactions6Payroll

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