Data Layer low complexity backend
0
Dependencies
1
Dependents
0
Entities
0
Integrations

Description

Manages per-organisation honorarium threshold configuration (e.g. threshold_1=3, rate_1=X, threshold_2=15, rate_2=Y) stored in organization_settings or a dedicated assignment_thresholds table. Allows coordinators and org admins to adjust thresholds without code changes.

Feature: Assignment Threshold Tracking

assignment-thresholds-repository

Responsibilities

  • Read threshold configuration for a given organisation
  • Persist threshold updates made by org admins
  • Return ordered list of thresholds for evaluation logic

Interfaces

AssignmentThresholdConfig getConfig(String orgId)
void saveConfig(String orgId, AssignmentThresholdConfig config)
List<ThresholdTier> getTiers(String orgId)

Relationships

Dependents (1)

Components that depend on this component