47 lines
1003 B
Python
47 lines
1003 B
Python
|
|
"""inventory 域模型出口(目录 / 仓储 / 交易 / 财务四个域文件)。
|
|||
|
|
|
|||
|
|
全量模型注册点见 shared/models/base.py 模块 docstring;
|
|||
|
|
业务代码按需 `from inventory.models import Product, ...`。
|
|||
|
|
"""
|
|||
|
|
from inventory.models.catalog import (
|
|||
|
|
Product,
|
|||
|
|
ProductMaterial,
|
|||
|
|
MaterialPriceHistory,
|
|||
|
|
MaterialSupplier,
|
|||
|
|
Supplier,
|
|||
|
|
Customer,
|
|||
|
|
)
|
|||
|
|
from inventory.models.warehouse import (
|
|||
|
|
Warehouse,
|
|||
|
|
Inventory,
|
|||
|
|
StockMovement,
|
|||
|
|
)
|
|||
|
|
from inventory.models.trading import (
|
|||
|
|
PurchaseOrder,
|
|||
|
|
PurchaseOrderItem,
|
|||
|
|
SalesOrder,
|
|||
|
|
SalesOrderItem,
|
|||
|
|
)
|
|||
|
|
from inventory.models.finance import (
|
|||
|
|
FinanceTransaction,
|
|||
|
|
FinanceAllocation,
|
|||
|
|
)
|
|||
|
|
|
|||
|
|
__all__ = [
|
|||
|
|
"Product",
|
|||
|
|
"ProductMaterial",
|
|||
|
|
"MaterialPriceHistory",
|
|||
|
|
"MaterialSupplier",
|
|||
|
|
"Supplier",
|
|||
|
|
"Customer",
|
|||
|
|
"Warehouse",
|
|||
|
|
"Inventory",
|
|||
|
|
"StockMovement",
|
|||
|
|
"PurchaseOrder",
|
|||
|
|
"PurchaseOrderItem",
|
|||
|
|
"SalesOrder",
|
|||
|
|
"SalesOrderItem",
|
|||
|
|
"FinanceTransaction",
|
|||
|
|
"FinanceAllocation",
|
|||
|
|
]
|