Status: Accepted (in force). Reconstructed.

Context

Real companies give different leave allowances to different levels (juniors 15 days, seniors 25). A single flat number per policy can't express that.

Decision

A LeavePolicy holds shared attributes (paid, gender, self-apply), and its entitlement lives in LeavePolicyItem rows — one per paygrade — each with its own days, accrual type, waiting period, rollover and notice. Targeting is materialised via LeavePolicyItemPersonContainer.

Consequences

Good: grade-differentiated entitlement in one policy; reuse of a policy across grades; targeting by payband/paygrade/custom group.

Bad / costs: more rows to configure and keep consistent; a person's entitlement depends on their current paygrade — a redeployment can change it; empty/missing items for a grade = no entitlement.

Alternatives

Related

configuration §1, technical §2.