PayslipDayLine
One date of a payslip's earnings as priced at generation (V127).
| Table | payslip_day_line |
| Tenant-scoped | Yes — extends TenantOwned |
| Columns | 19 |
| Relationships | 0 |
| Source | backend/src/main/java/com/motorph/payroll/model/PayslipDayLine.java |
Columns
| Field | Type | Column | Null | Notes |
|---|---|---|---|---|
payslipDayLineId | Integer | payslip_day_line_id | — | primary key, generated |
payslipId | Integer | payslip_id | — | — |
timesheetId | Integer | timesheet_id | Yes | — |
workDate | LocalDate | work_date | — | — |
lineKind | String | line_kind | — | — |
dayType | String | day_type | — | — |
restDay | boolean | rest_day | — | — |
regularHours | BigDecimal | regular_hours | — | — |
overtimeHours | BigDecimal | overtime_hours | — | — |
nightHours | BigDecimal | night_hours | — | — |
hourlyRate | BigDecimal | hourly_rate | — | — |
dayMultiplier | BigDecimal | day_multiplier | Yes | — |
overtimeFactor | BigDecimal | overtime_factor | Yes | — |
basePay | BigDecimal | base_pay | — | — |
overtimePay | BigDecimal | overtime_pay | — | — |
nightDiffPay | BigDecimal | night_diff_pay | — | — |
holidayPremium | BigDecimal | holiday_premium | — | — |
restDayPremium | BigDecimal | rest_day_premium | — | — |
unworkedHolidayPay | BigDecimal | unworked_holiday_pay | — | — |
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.
Repository
PayslipDayLineRepository
Declared over PayslipDayLine with id type Integer. Source: backend/src/main/java/com/motorph/payroll/repository/PayslipDayLineRepository.java
| Method | Returns | Notes |
|---|---|---|
findAllByPayslipIdInOrderByWorkDateAscPayslipDayLineIdAsc(Collection<Integer> payslipIds) | List<PayslipDayLine> | derived |
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/.