2025-09-30 13:32:51 +02:00
|
|
|
"""
|
|
|
|
|
Notification 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 .notifications import (
|
|
|
|
|
Notification,
|
|
|
|
|
NotificationType,
|
|
|
|
|
NotificationStatus,
|
|
|
|
|
NotificationPriority,
|
|
|
|
|
NotificationPreference,
|
|
|
|
|
NotificationLog,
|
|
|
|
|
)
|
|
|
|
|
from .templates import (
|
|
|
|
|
EmailTemplate,
|
|
|
|
|
WhatsAppTemplate,
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
# List all models for easier access
|
|
|
|
|
__all__ = [
|
|
|
|
|
"Notification",
|
|
|
|
|
"NotificationType",
|
|
|
|
|
"NotificationStatus",
|
|
|
|
|
"NotificationPriority",
|
|
|
|
|
"NotificationPreference",
|
|
|
|
|
"NotificationLog",
|
|
|
|
|
"EmailTemplate",
|
|
|
|
|
"WhatsAppTemplate",
|
|
|
|
|
]
|