Skip to content

OSSS.db.models.fiscal_periods

OSSS.db.models.fiscal_periods

FiscalPeriod

Bases: UUIDMixin, TimestampMixin, Base

A period within a fiscal year (e.g., month 1..12). We associate periods to fiscal years via the natural-key integer 'year_number' instead of a DB-level FK, then define a view-only relationship to FiscalYear using an explicit primaryjoin.