Skip to main content

PhHoliday

Philippine holiday calendar entry.

Tableph_holidays
Tenant-scopedYes — extends TenantOwned
Columns7
Relationships0
Sourcebackend/src/main/java/com/motorph/payroll/model/PhHoliday.java

Columns​

FieldTypeColumnNullNotes
holidayIdIntegerholiday_id—primary key, generated
holidayDateLocalDateholiday_date——
holidayNameStringholiday_name——
holidayTypeStringholiday_type——
createdDateLocalDateTimecreated_dateYes—
lastModifiedByStringlast_modified_byYes—
lastModifiedDateLocalDateTimelast_modified_dateYes—

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​

PhHolidayRepository​

Declared over PhHoliday with id type Integer. Source: backend/src/main/java/com/motorph/payroll/repository/PhHolidayRepository.java

MethodReturnsNotes
findAllByHolidayDateBetweenOrderByHolidayDateAsc(LocalDate from, LocalDate to)List<PhHoliday>derived
existsByHolidayDateAndHolidayName(LocalDate holidayDate, String holidayName)booleanderived

Reached by​

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

ControllerBase pathEndpointsModule
DemoDataController/api/system-admin/demo-data3Billing & Platform
LeaveRequestController/api/leave-requests7HR
PayrollController/api/payroll8Payroll
PayrollSettingsController/api/payroll-settings4Payroll
PhHolidayController/api/holidays5HR
PublicSignupController/api/public/signup2Billing & Platform
RecognitionAwardController/api/recognition-awards7HR
TenantAdminController/api/admin/tenants7Billing & Platform

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