Added Notification System, Renamed Repository to Entities

This commit is contained in:
Keivan
2010-10-07 20:35:04 -07:00
parent 9c7355f3fb
commit 27d86a8540
43 changed files with 351 additions and 760 deletions
@@ -0,0 +1,28 @@
using System;
namespace NzbDrone.Core.Entities.Notification
{
public class BasicNotification
{
public BasicNotification()
{
Id = Guid.Empty;
}
/// <summary>
/// Gets or sets the unique id.
/// </summary>
/// <value>The Id.</value>
public Guid Id { get; private set; }
public String Title { get; set; }
public NotificationType Type { get; set; }
/// <summary>
/// Gets or sets a value indicating whether or not this message should be automatically dismissed after a period of time.
/// </summary>
/// <value><c>true</c> if [auto dismiss]; otherwise, <c>false</c>.</value>
public bool AutoDismiss { get; set; }
}
}