aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Notifications/Notification.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Model/Notifications/Notification.cs')
-rw-r--r--MediaBrowser.Model/Notifications/Notification.cs33
1 files changed, 33 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Notifications/Notification.cs b/MediaBrowser.Model/Notifications/Notification.cs
new file mode 100644
index 000000000..14f55b6e1
--- /dev/null
+++ b/MediaBrowser.Model/Notifications/Notification.cs
@@ -0,0 +1,33 @@
+using System;
+
+namespace MediaBrowser.Model.Notifications
+{
+ public class Notification
+ {
+ public Guid Id { get; set; }
+
+ public Guid UserId { get; set; }
+
+ public DateTime Date { get; set; }
+
+ public bool IsRead { get; set; }
+
+ public string Name { get; set; }
+
+ public string Description { get; set; }
+
+ public string Url { get; set; }
+
+ public string Category { get; set; }
+
+ public string RelatedId { get; set; }
+
+ public NotificationLevel Level { get; set; }
+
+ public Notification()
+ {
+ Id = Guid.NewGuid();
+ Date = DateTime.UtcNow;
+ }
+ }
+}