Skip to main content

PhilhealthContributionRate

The PhilhealthContributionRate entity, mapped to the philhealth_contribution_rates table.

Tablephilhealth_contribution_rates
Tenant-scopedNo — global table
Columns6
Relationships0
Sourcebackend/src/main/java/com/motorph/payroll/model/PhilhealthContributionRate.java
Not tenant-scoped

This entity does not extend TenantOwned, so its rows are shared across every tenant. TenantCoverageTest allows that only for tables deliberately declared global.

Columns​

FieldTypeColumnNullNotes
contributionRateIdIntegercontribution_rate_id—primary key, generated
salaryBracketFromBigDecimalsalary_bracket_from——
salaryBracketToBigDecimalsalary_bracket_to——
employeeShareBigDecimalemployee_share——
employerShareBigDecimalemployer_share——
effectiveDateLocalDateeffective_date——

Repository​

PhilhealthContributionRateRepository​

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

MethodReturnsNotes
findAllByOrderBySalaryBracketFromAsc()List<PhilhealthContributionRate>derived
findAllByEffectiveDate(LocalDate effectiveDate)List<PhilhealthContributionRate>derived
findBracketsAsOf(@Param("salary") BigDecimal salary, @Param("asOf") LocalDate asOf)List<PhilhealthContributionRate>explicit @Query
findBracketAsOf(BigDecimal salary, LocalDate asOf)Optional<PhilhealthContributionRate>derived
findBracketsInEarliestCohort(@Param("salary") BigDecimal salary)List<PhilhealthContributionRate>explicit @Query
findBracketInEarliestCohort(BigDecimal salary)Optional<PhilhealthContributionRate>derived
findDistinctEffectiveDates()List<LocalDate>explicit @Query

Reached by​

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

ControllerBase pathEndpointsModule
DemoDataController/api/system-admin/demo-data3Billing & Platform
GovernmentFormsController/api/government-forms8PH Statutory
PayrollController/api/payroll8Payroll
PayrollSettingsController/api/payroll-settings4Payroll
PhilhealthContributionRateController/api/philhealth-contribution-rates8PH Statutory

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