| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- 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>
- /// The system name of the job that should be processed by the corresponding notification plugin
- /// </summary>
- public string NotificationJobSystemName { 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; }
- }
- }
- }
|