| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- 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
- /// <summary>
- /// Invoices related to the appendix
- /// </summary>
- private ICollection<User.User> _users;
- #endregion
- /// <summary>
- /// Id of the corresponding NotificationEventType
- /// </summary>
- public int? NotificationEventTypeId { get; set; }
- /// <summary>
- /// Corresponding NotificationEventType
- /// </summary>
- public NotificationEventType NotificationEventType { 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>
- /// The logic by which the notification is generated
- /// </summary>
- public string NotificationLogicType { 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; }
- /// <summary>
- /// Users assigned to the notification
- /// </summary>
- public virtual ICollection<User.User> Users
- {
- get { return _users ?? ( _users = new List<User.User>()); }
- protected set { _users = value; }
- }
- }
- }
|