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
#endregion
///
/// Id of the corresponding NotificationEventType
///
public int NotificationEventTypeId { get; set; }
///
/// Corresponding NotificationEventType
///
public NotificationEventType EventType { get; set; }
///
/// Id of the corresponding User
///
public int UserId { get; set; }
///
/// Corresponding User
///
public User.User User { get; set; }
///
/// The cron expression if the notification will be sent by time
///
public string CronExpression { get; set; }
///
/// Id of the corresponding NotificationEvent
///
public int NotificationEventId { get; set; }
///
/// Corresponding NotificationEvent
///
public NotificationEvent NotificationEvent { 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; }
}
}