2025-10-15 16:12:49 +02:00
|
|
|
|
|
|
|
|
# Import AuditLog model for this service
|
|
|
|
|
from shared.security import create_audit_log_model
|
|
|
|
|
from shared.database.base import Base
|
|
|
|
|
|
|
|
|
|
# Create audit log model for this service
|
|
|
|
|
AuditLog = create_audit_log_model(Base)
|
2025-08-13 17:39:35 +02:00
|
|
|
# services/recipes/app/models/__init__.py
|
|
|
|
|
|
|
|
|
|
from .recipes import (
|
|
|
|
|
Recipe,
|
|
|
|
|
RecipeIngredient,
|
|
|
|
|
ProductionBatch,
|
|
|
|
|
ProductionIngredientConsumption,
|
|
|
|
|
ProductionSchedule,
|
|
|
|
|
RecipeStatus,
|
|
|
|
|
ProductionStatus,
|
|
|
|
|
MeasurementUnit,
|
|
|
|
|
ProductionPriority
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
__all__ = [
|
|
|
|
|
"Recipe",
|
|
|
|
|
"RecipeIngredient",
|
|
|
|
|
"ProductionBatch",
|
|
|
|
|
"ProductionIngredientConsumption",
|
|
|
|
|
"ProductionSchedule",
|
|
|
|
|
"RecipeStatus",
|
|
|
|
|
"ProductionStatus",
|
|
|
|
|
"MeasurementUnit",
|
2025-10-15 16:12:49 +02:00
|
|
|
"ProductionPriority",
|
|
|
|
|
"AuditLog"
|
2025-08-13 17:39:35 +02:00
|
|
|
]
|