# app/models/__init__.py

# 1. 基础物料 (必须先加载，因为 buy 依赖它)
from app.models.base import MaterialBase

# 2. 采购入库 (现在的类名是 StockBuy)
from app.models.inbound.buy import StockBuy

# 3. 半成品入库 (如果有)
try:
    from app.models.inbound.semi import StockSemi
except ImportError:
    pass

# 4. 出库记录 (如果有，BuyService 用到了 TransOutbound)
try:
    from app.models.outbound import TransOutbound
except ImportError:
    pass