Files
bakery-ia/services/suppliers/app/models/__init__.py
2025-08-21 20:28:14 +02:00

53 lines
1.3 KiB
Python

# services/suppliers/app/models/__init__.py
"""
Models package for the Supplier service
"""
from .suppliers import (
Supplier, SupplierPriceList, PurchaseOrder, PurchaseOrderItem,
Delivery, DeliveryItem, SupplierQualityReview, SupplierInvoice,
SupplierType, SupplierStatus, PaymentTerms, PurchaseOrderStatus,
DeliveryStatus, QualityRating, DeliveryRating, InvoiceStatus
)
from .performance import (
SupplierPerformanceMetric, SupplierAlert, SupplierScorecard,
SupplierBenchmark, AlertRule, AlertSeverity, AlertType, AlertStatus,
PerformanceMetricType, PerformancePeriod
)
__all__ = [
# Supplier Models
'Supplier',
'SupplierPriceList',
'PurchaseOrder',
'PurchaseOrderItem',
'Delivery',
'DeliveryItem',
'SupplierQualityReview',
'SupplierInvoice',
# Performance Models
'SupplierPerformanceMetric',
'SupplierAlert',
'SupplierScorecard',
'SupplierBenchmark',
'AlertRule',
# Supplier Enums
'SupplierType',
'SupplierStatus',
'PaymentTerms',
'PurchaseOrderStatus',
'DeliveryStatus',
'QualityRating',
'DeliveryRating',
'InvoiceStatus',
# Performance Enums
'AlertSeverity',
'AlertType',
'AlertStatus',
'PerformanceMetricType',
'PerformancePeriod'
]