| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 | using System;using InABox.Core;namespace Comal.Classes{    /// <summary>    ///     Allows other entities to link to an Assignment    /// </summary>    public class AssignmentLink : EntityLink<Assignment>    {        /// <summary>        ///     The ID of the linked assignment        /// </summary>        [NullEditor]        public override Guid ID { get; set; }                /// <summary>        ///     The Number of the linked assignment        /// </summary>        [IntegerEditor(Editable = Editable.Hidden)]        public int Number { get; set; }        /// <summary>        ///     The date of the assignment        /// </summary>        [DateTimeEditor(Editable = Editable.Hidden)]        public DateTime Date { get; set; }        /// <summary>        ///     The start time of the assigment        /// </summary>        [TimeOfDayEditor(Editable = Editable.Hidden)]        public TimeSpan Start { get; set; }        /// <summary>        ///     The duration of the assignment        /// </summary>        [TimeOfDayEditor(Editable = Editable.Hidden)]        public TimeSpan Duration { get; set; }        /// <summary>        ///     Identifies the leave request (if any) that generated this assignment        /// </summary>        [NullEditor]        public LeaveRequestLink LeaveRequestLink { get; set; }        [NullEditor]        public JobLink JobLink { get; set; }                [NullEditor]        public JobScopeLink JobScope { get; set; }    }}
 |