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

Description

Database table storing per-organization impact calculation parameters. Each row represents one tenant's model with fields for hourly value rate, professional-hour cost benchmark, social-value multiplier, and currency code. Supports the multi-tenant architecture by allowing each organization to use sector-appropriate figures.

Feature: Advantage Calculator (Real-Time)

calculation-models-table

Responsibilities

  • Persist organization-level calculation model parameters with tenant isolation
  • Support CRUD operations performed by Org Admins through the admin portal

Interfaces

findByOrganizationId(orgId) → CalculationModelRow | null
upsert(orgId, params) → CalculationModelRow