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

توجه: import همه مدل‌ها در این ماژول لازم است تا Alembic و Base.metadata
همه جدول‌ها را بشناسند.
"""
from app.models.audit import AuditLog
from app.models.commercial import (
    CommercialActivationState,
    CommercialRegistryKind,
    CommercialRegistryObject,
    CommercialTenantLicense,
    CommercialTenantSubscription,
)
from app.models.domain import Domain
from app.models.events import InboxEvent, OutboxEvent
from app.models.membership import TenantMembership
from app.models.registry import (
    InternalServiceToken,
    ModuleRegistry,
    ServiceRegistry,
    TenantModuleAccess,
)
from app.models.tenant import Tenant
from app.models.user import User

__all__ = [
    "Tenant",
    "User",
    "TenantMembership",
    "Domain",
    "ServiceRegistry",
    "ModuleRegistry",
    "TenantModuleAccess",
    "InternalServiceToken",
    "OutboxEvent",
    "InboxEvent",
    "AuditLog",
    "CommercialRegistryKind",
    "CommercialRegistryObject",
    "CommercialTenantSubscription",
    "CommercialTenantLicense",
    "CommercialActivationState",
]
