2025-10-01 11:24:06 +02:00
|
|
|
"""
|
|
|
|
|
Inventory Service Models Package
|
|
|
|
|
|
|
|
|
|
Import all models to ensure they are registered with SQLAlchemy Base.
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
# Import all models to register them with the Base metadata
|
|
|
|
|
from .inventory import (
|
|
|
|
|
Ingredient,
|
|
|
|
|
Stock,
|
|
|
|
|
StockMovement,
|
|
|
|
|
ProductTransformation,
|
|
|
|
|
StockAlert,
|
|
|
|
|
UnitOfMeasure,
|
|
|
|
|
IngredientCategory,
|
|
|
|
|
ProductCategory,
|
|
|
|
|
ProductType,
|
|
|
|
|
ProductionStage,
|
|
|
|
|
StockMovementType,
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
from .food_safety import (
|
|
|
|
|
FoodSafetyCompliance,
|
|
|
|
|
TemperatureLog,
|
|
|
|
|
FoodSafetyAlert,
|
|
|
|
|
FoodSafetyStandard,
|
|
|
|
|
ComplianceStatus,
|
|
|
|
|
FoodSafetyAlertType,
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
# List all models for easier access
|
|
|
|
|
__all__ = [
|
|
|
|
|
# Inventory models
|
|
|
|
|
"Ingredient",
|
|
|
|
|
"Stock",
|
|
|
|
|
"StockMovement",
|
|
|
|
|
"ProductTransformation",
|
|
|
|
|
"StockAlert",
|
|
|
|
|
# Inventory enums
|
|
|
|
|
"UnitOfMeasure",
|
|
|
|
|
"IngredientCategory",
|
|
|
|
|
"ProductCategory",
|
|
|
|
|
"ProductType",
|
|
|
|
|
"ProductionStage",
|
|
|
|
|
"StockMovementType",
|
|
|
|
|
# Food safety models
|
|
|
|
|
"FoodSafetyCompliance",
|
|
|
|
|
"TemperatureLog",
|
|
|
|
|
"FoodSafetyAlert",
|
|
|
|
|
# Food safety enums
|
|
|
|
|
"FoodSafetyStandard",
|
|
|
|
|
"ComplianceStatus",
|
|
|
|
|
"FoodSafetyAlertType",
|
|
|
|
|
]
|