using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GreenTree.Nachtragsmanagement.Core.Domain.Misc
{
public class MailNotification : BaseEntity
{
#region Fields
///
/// Users related to the notification
///
private ICollection _users;
#endregion
///
/// The cron expression if the notification will be sent by time
///
public string CronExpression { get; set; }
///
/// The system name of the corresponding plugin generating the notification
///
public string NotificationPluginSystemName { get; set; }
///
/// Determines if data is daily summarized before notificated
///
public bool IsDailySummary { get; set; }
///
/// Determines if data is weekly summarized before notificated
///
public bool IsWeeklySummary { get; set; }
///
/// Determines if data is monthly summarized before notificated
///
public bool IsMonthlySummary { get; set; }
///
/// Users assigned to the notification
///
public virtual ICollection Users
{
get { return _users ?? ( _users = new List()); }
protected set { _users = value; }
}
}
}