Add quality template logic
This commit is contained in:
@@ -43,6 +43,17 @@ class EquipmentStatus(str, enum.Enum):
|
||||
WARNING = "warning"
|
||||
|
||||
|
||||
class ProcessStage(str, enum.Enum):
|
||||
"""Production process stages where quality checks can occur"""
|
||||
MIXING = "mixing"
|
||||
PROOFING = "proofing"
|
||||
SHAPING = "shaping"
|
||||
BAKING = "baking"
|
||||
COOLING = "cooling"
|
||||
PACKAGING = "packaging"
|
||||
FINISHING = "finishing"
|
||||
|
||||
|
||||
class EquipmentType(str, enum.Enum):
|
||||
"""Equipment type enumeration"""
|
||||
OVEN = "oven"
|
||||
@@ -329,17 +340,6 @@ class ProductionCapacity(Base):
|
||||
}
|
||||
|
||||
|
||||
class ProcessStage(str, enum.Enum):
|
||||
"""Production process stages where quality checks can occur"""
|
||||
MIXING = "mixing"
|
||||
PROOFING = "proofing"
|
||||
SHAPING = "shaping"
|
||||
BAKING = "baking"
|
||||
COOLING = "cooling"
|
||||
PACKAGING = "packaging"
|
||||
FINISHING = "finishing"
|
||||
|
||||
|
||||
class QualityCheckTemplate(Base):
|
||||
"""Quality check templates for tenant-specific quality standards"""
|
||||
__tablename__ = "quality_check_templates"
|
||||
|
||||
Reference in New Issue
Block a user