From 792fb153e386f28f30e5478e0500c733971dd645 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Thu, 17 Oct 2024 14:06:16 -0400 Subject: [PATCH] New status related fields for devices. --- app/models/event_device_models.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/app/models/event_device_models.py b/app/models/event_device_models.py index a1ef9ad..525c658 100644 --- a/app/models/event_device_models.py +++ b/app/models/event_device_models.py @@ -87,6 +87,10 @@ class Event_Device_Base(BaseModel): alert: Optional[bool] alert_msg: Optional[str] + status: Optional[str] + status_msg: Optional[str] + record_status: Optional[str] + record_status_msg: Optional[str] info_hostname: Optional[str] info_ip: Optional[str] @@ -98,10 +102,10 @@ class Event_Device_Base(BaseModel): enable: Optional[bool] - # hide: Optional[bool] - # priority: Optional[bool] - # sort: Optional[int] - # group: Optional[str] + hide: Optional[bool] + priority: Optional[bool] + sort: Optional[int] + group: Optional[str] event_notes: Optional[str] notes: Optional[str]