"""مدل‌های SQLAlchemy 2.x برای Core Platform.

توجه: import همه مدل‌ها در این ماژول لازم است تا Alembic و Base.metadata
همه جدول‌ها را بشناسند.
"""
from app.models.audit import AuditLog
from app.models.domain import Domain
from app.models.events import InboxEvent, OutboxEvent
from app.models.membership import TenantMembership
from app.models.plan import Feature, Plan, PlanFeature
from app.models.registry import (
    InternalServiceToken,
    ModuleRegistry,
    ServiceRegistry,
    TenantModuleAccess,
)
from app.models.subscription import TenantFeatureAccess, TenantSubscription
from app.models.tenant import Tenant
from app.models.user import User

__all__ = [
    "Tenant",
    "User",
    "TenantMembership",
    "Domain",
    "Plan",
    "Feature",
    "PlanFeature",
    "TenantSubscription",
    "TenantFeatureAccess",
    "ServiceRegistry",
    "ModuleRegistry",
    "TenantModuleAccess",
    "InternalServiceToken",
    "OutboxEvent",
    "InboxEvent",
    "AuditLog",
]
