}
diff --git a/WebUI/Models/Notification.cs b/WebUI/Models/Notification.cs
index ac0c316..7b57b85 100644
--- a/WebUI/Models/Notification.cs
+++ b/WebUI/Models/Notification.cs
@@ -1,9 +1,25 @@
namespace WebUI.Models;
+///
+/// Notification for the Notification System
+///
public class Notification
{
+ ///
+ /// The message of the notification.
+ ///
public string Message { get; set; }
+ ///
+ /// The type of the notification
+ ///
public NotificationType Type { get; set; }
+ ///
+ /// The time when the notification was being sent
+ ///
public DateTime Timestamp { get; set; } = DateTime.Now;
- public int DelayMs { get; set; } = 5000;
+ ///
+ /// The time in milliseconds while the notification should be displayed.
+ /// The notification should disappear after this time
+ ///
+ public int DelayMs { get; set; } = 1500;
}
diff --git a/WebUI/Models/NotificationType.cs b/WebUI/Models/NotificationType.cs
index 738df49..d44b56b 100644
--- a/WebUI/Models/NotificationType.cs
+++ b/WebUI/Models/NotificationType.cs
@@ -1,5 +1,8 @@
namespace WebUI.Models;
+///
+/// The notification type
+///
public enum NotificationType
{
Success,