2026-02-09 15:49:50 +05:30
|
|
|
"""Shared tenancy-scoped model base classes."""
|
|
|
|
|
|
2026-02-04 02:28:51 +05:30
|
|
|
from __future__ import annotations
|
|
|
|
|
|
2026-02-09 02:04:14 +05:30
|
|
|
from app.models.base import QueryModel
|
2026-02-04 02:28:51 +05:30
|
|
|
|
|
|
|
|
|
2026-02-09 02:04:14 +05:30
|
|
|
class TenantScoped(QueryModel, table=False):
|
2026-02-09 15:49:50 +05:30
|
|
|
"""Base class for models constrained to a tenant/organization scope."""
|