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