aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Notifications/Notification.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-07-06 17:23:32 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-07-06 17:23:32 -0400
commit53450bd514eec97d58eb18b8a01feab36475826b (patch)
tree5cd1b4013852619b0e108a8f2442ab893a924441 /MediaBrowser.Model/Notifications/Notification.cs
parentb3054a6a2216e36cc37279a1fc0f4c14e6668c8f (diff)
added a notifications service
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;
+ }
+ }
+}