2014-05-08 20:26:20 +00:00
|
|
|
|
using System;
|
2013-07-06 21:23:32 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Notifications
|
|
|
|
|
{
|
|
|
|
|
public class Notification
|
|
|
|
|
{
|
2014-04-25 20:15:50 +00:00
|
|
|
|
public string Id { get; set; }
|
2013-07-06 21:23:32 +00:00
|
|
|
|
|
2014-04-25 20:15:50 +00:00
|
|
|
|
public string UserId { get; set; }
|
2013-07-06 21:23:32 +00:00
|
|
|
|
|
|
|
|
|
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; }
|
2014-04-27 03:42:05 +00:00
|
|
|
|
|
2013-07-06 21:23:32 +00:00
|
|
|
|
public NotificationLevel Level { get; set; }
|
|
|
|
|
|
|
|
|
|
public Notification()
|
|
|
|
|
{
|
2014-04-25 20:15:50 +00:00
|
|
|
|
Date = DateTime.UtcNow;
|
|
|
|
|
}
|
|
|
|
|
}
|
2013-07-06 21:23:32 +00:00
|
|
|
|
}
|