Skip to main content

PayslipDayLine

One date of a payslip's earnings as priced at generation (V127).

Tablepayslip_day_line
Tenant-scopedYes — extends TenantOwned
Columns19
Relationships0
Sourcebackend/src/main/java/com/motorph/payroll/model/PayslipDayLine.java

Columns​

FieldTypeColumnNullNotes
payslipDayLineIdIntegerpayslip_day_line_id—primary key, generated
payslipIdIntegerpayslip_id——
timesheetIdIntegertimesheet_idYes—
workDateLocalDatework_date——
lineKindStringline_kind——
dayTypeStringday_type——
restDaybooleanrest_day——
regularHoursBigDecimalregular_hours——
overtimeHoursBigDecimalovertime_hours——
nightHoursBigDecimalnight_hours——
hourlyRateBigDecimalhourly_rate——
dayMultiplierBigDecimalday_multiplierYes—
overtimeFactorBigDecimalovertime_factorYes—
basePayBigDecimalbase_pay——
overtimePayBigDecimalovertime_pay——
nightDiffPayBigDecimalnight_diff_pay——
holidayPremiumBigDecimalholiday_premium——
restDayPremiumBigDecimalrest_day_premium——
unworkedHolidayPayBigDecimalunworked_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

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