| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 | using System;using InABox.Core;namespace Comal.Classes{    [UserTracking("Notifications")]    public class Notification : Entity, IRemotable, IPersistent, IOneToMany<Job>, ILicense<CoreLicense>    {        [EditorSequence(1)]        [DateTimeEditor(Editable = Editable.Hidden)]        public override DateTime Created { get; set; }        [EditorSequence(2)]        public EmployeeLink Sender { get; set; }        [EditorSequence(3)]        public EmployeeLink Employee { get; set; }        [EditorSequence(4)]        public JobLink Job { get; set; }        [EditorSequence(5)]        [TextBoxEditor]        public string Title { get; set; }        [EditorSequence(6)]        [RichTextEditor]        public string Description { get; set; }        [EditorSequence(7)]        [TimestampEditor]        public DateTime Closed { get; set; }        [Obsolete("Replaced with Type+EntityID")]        [NullEditor]        public DeliveryLink Delivery { get; set; }        [Obsolete("Replaced with Type+EntityID")]        [NullEditor]        public KanbanLink Kanban { get; set; }        [Obsolete("Replaced with Type+EntityID")]        [NullEditor]        public SetoutLink Setout { get; set; }        [Obsolete("Replaced with Type+EntityID")]        [NullEditor]        public RequisitionLink Requisition { get; set; }        [Obsolete("Replaced with Type+EntityID")]        [NullEditor]        public LeaveRequestLink LeaveRequestLink { get; set; }        [NullEditor]        public string EntityType { get; set; }        [NullEditor]        public Guid EntityID { get; set; }        protected override void Init()        {            base.Init();            Employee = new EmployeeLink();            Sender = new EmployeeLink();            Job = new JobLink();            Delivery = new DeliveryLink();            Kanban = new KanbanLink();            Setout = new SetoutLink();            Requisition = new RequisitionLink();            LeaveRequestLink = new LeaveRequestLink();        }    }}
 |