"""ORM 模型统一导出入口。 从 business.py 和 system.py 导入所有模型类, 其他模块通过 `from backend.app.models import Customer` 方式引用。 """ from backend.app.models.base import AuditMixin, TimestampMixin from backend.app.models.business import ( AIRecognitionLog, Customer, CustomerArrears, FileAttachment, LogisticsTask, LogisticsTrace, LogisticsWaybill, OrderSupplierTextLog, PerformanceStatCache, Product, ProductCategory, ProductPriceTier, ProductPricingRule, SalesOrder, SalesOrderApproveLog, SalesOrderItem, Supplier, SupplierProductCost, SystemReminder, ) from backend.app.models.system import AuditLog, Menu, Role, RoleMenu, SystemConfig, User __all__ = [ "AuditMixin", "TimestampMixin", "AIRecognitionLog", "AuditLog", "Customer", "CustomerArrears", "FileAttachment", "LogisticsTask", "LogisticsTrace", "LogisticsWaybill", "Menu", "OrderSupplierTextLog", "PerformanceStatCache", "Product", "ProductCategory", "ProductPriceTier", "ProductPricingRule", "Role", "RoleMenu", "SalesOrder", "SalesOrderApproveLog", "SalesOrderItem", "Supplier", "SupplierProductCost", "SystemConfig", "SystemReminder", "User", ]