From 53450bd514eec97d58eb18b8a01feab36475826b Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 6 Jul 2013 17:23:32 -0400 Subject: added a notifications service --- MediaBrowser.Model/Notifications/Notification.cs | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 MediaBrowser.Model/Notifications/Notification.cs (limited to 'MediaBrowser.Model/Notifications/Notification.cs') 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; + } + } +} -- cgit v1.2.3