| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- 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
- /// <summary>
- /// Id of the corresponding NotificationEventType
- /// </summary>
- public int NotificationEventTypeId { get; set; }
- /// <summary>
- /// Corresponding NotificationEventType
- /// </summary>
- public NotificationEventType EventType { get; set; }
- /// <summary>
- /// Id of the corresponding User
- /// </summary>
- public int UserId { get; set; }
- /// <summary>
- /// Corresponding User
- /// </summary>
- public User.User User { get; set; }
- /// <summary>
- /// The cron expression if the notification will be sent by time
- /// </summary>
- public string CronExpression { get; set; }
- /// <summary>
- /// Id of the corresponding NotificationEvent
- /// </summary>
- public int NotificationEventId { get; set; }
- /// <summary>
- /// Corresponding NotificationEvent
- /// </summary>
- public NotificationEvent NotificationEvent { get; set; }
- /// <summary>
- /// Determines if data is daily summarized before notificated
- /// </summary>
- public bool IsDailySummary { get; set; }
- /// <summary>
- /// Determines if data is weekly summarized before notificated
- /// </summary>
- public bool IsWeeklySummary { get; set; }
- /// <summary>
- /// Determines if data is monthly summarized before notificated
- /// </summary>
- public bool IsMonthlySummary { get; set; }
- }
- }
|