PayrollGlAccount
A tenant's account for one Payroll Journal line (see V126 and JournalLine).
| Table | payroll_gl_account |
| Tenant-scoped | Yes — extends TenantOwned |
| Columns | 4 |
| Relationships | 1 |
| Source | backend/src/main/java/com/motorph/payroll/model/PayrollGlAccount.java |
Columns
| Field | Type | Column | Null | Notes |
|---|---|---|---|---|
payrollGlAccountId | Integer | payroll_gl_account_id | — | primary key, generated |
lineCode | String | line_code | — | — |
lastModifiedBy | String | last_modified_by | Yes | — |
lastModifiedDate | LocalDateTime | last_modified_date | Yes | — |
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
| Field | Kind | Target | Join column | Required |
|---|---|---|---|---|
account | @ManyToOne | com.motorph.payroll.accounting.model.Account | account_id | Yes |
Repository
PayrollGlAccountRepository
Declared over PayrollGlAccount with id type Integer. Source: backend/src/main/java/com/motorph/payroll/repository/PayrollGlAccountRepository.java
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/.