New alert system and panel de control page
This commit is contained in:
@@ -12,12 +12,31 @@ from shared.database.base import Base
|
||||
AuditLog = create_audit_log_model(Base)
|
||||
|
||||
# Import all models to register them with the Base metadata
|
||||
from .alerts import Alert, AlertStatus, AlertSeverity
|
||||
from .events import (
|
||||
Alert,
|
||||
Notification,
|
||||
Recommendation,
|
||||
EventInteraction,
|
||||
AlertStatus,
|
||||
PriorityLevel,
|
||||
AlertTypeClass,
|
||||
NotificationType,
|
||||
RecommendationType,
|
||||
)
|
||||
|
||||
# List all models for easier access
|
||||
__all__ = [
|
||||
# New event models
|
||||
"Alert",
|
||||
"Notification",
|
||||
"Recommendation",
|
||||
"EventInteraction",
|
||||
# Enums
|
||||
"AlertStatus",
|
||||
"AlertSeverity",
|
||||
"PriorityLevel",
|
||||
"AlertTypeClass",
|
||||
"NotificationType",
|
||||
"RecommendationType",
|
||||
# System
|
||||
"AuditLog",
|
||||
]
|
||||
Reference in New Issue
Block a user