Skip to main content

Leave Types

Summary

Leave types are tenant-scoped, first-class configuration, but several declared restrictions are not enforced during request creation.

Audience

Leave/HR administrators, employees, analysts, product owners, QA, and implementers.

Concepts

PropertyConfirmed business meaningCurrent maturity
NameHuman-readable request category; required when saving a type.Implemented.
CodeOptional short identifier.Implemented as metadata.
PaidDeclares paid/unpaid nature.Stored; Payroll compatibility still uses a textual convention, so Transitional.
Balance applicabilityRequests and balances share the Leave type text.Implemented relationship; explicit balance-required flag does not exist.
Allow half dayDeclares half-day eligibility.Stored but not confirmed as enforced by request calculation.
Allow carry forwardDeclares carry-forward eligibility.Stored; processing Not implemented.
Maximum days per yearOptional annual cap.Stored but enforcement Not implemented.
ActiveEnables/disables a type.Stored; request validation against active types Not implemented.

The source contains a default fallback category named Casual Leave. Development-only seed data is not a production Leave catalog and is intentionally not presented as tenant policy. Eligibility, request restrictions, precedence, and policy assignment beyond tenant/type require confirmation.

Source References

  • microservices/src/leave-service/Domain/Leave/LeaveConfig.cs
  • microservices/src/leave-service/Domain/Leave/LeaveConstants.cs
  • microservices/src/leave-service/Application/LeaveWorkflows.cs

See Also

Keywords

  • Leave
  • Leave Types
  • Workforce management

Revision Information

  • Status: Draft
  • Last reviewed: 2026-07-15
  • Review cycle: Quarterly