# models/__init__.py
"""Models package - Database and API models."""

# API models (Pydantic) - import the modules, not all classes
from . import schema

# Database models (SQLAlchemy) - base only, avoid circular imports
from .database.base import Base

# Note: User, Store, and other domain models should be imported from
# their canonical locations in app/modules/*/models/
#
# Example:
#   from app.modules.tenancy.models import User, Store
#   from app.modules.catalog.models import Product
#   from app.modules.inventory.models import Inventory
#   from app.modules.marketplace.models import MarketplaceImportJob, MarketplaceProduct

# Export database base for Alembic
__all__ = [
    "Base",
    "schema",  # API models namespace
]
