| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- 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>
- /// Users related to the notification
- /// </summary>
- private ICollection<User.User> _users;
- #endregion
- /// <summary>
- /// The cron expression if the notification will be sent by time
- /// </summary>
- public string CronExpression { get; set; }
- /// <summary>
- /// The system name of the corresponding plugin generating the notification
- /// </summary>
- public string NotificationPluginSystemName { 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; }
- }
- }
- }
|