1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- using System;
- using System.ComponentModel;
- using InABox.Core;
- namespace Comal.Classes
- {
- /// <summary>
- /// Allows other entities to link to an EquipmentAssignment
- /// </summary>
- public class EquipmentAssignmentLink : EntityLink<Assignment>
- {
- /// <summary>
- /// The ID of the linked EquipmentAssignment
- /// </summary>
- [EditorSequence(1)]
- [LookupEditor(typeof(EquipmentAssignment))]
- public override Guid ID { get; set; }
-
- /// <summary>
- /// The Number of the linked EquipmentAssignment
- /// </summary>
- [EditorSequence(2)]
- [IntegerEditor(Editable = Editable.Hidden)]
- public int Number { get; set; }
- /// <summary>
- /// The date of the EquipmentAssignment
- /// </summary>
- [EditorSequence(3)]
- [DateTimeEditor(Editable = Editable.Hidden)]
- public DateTime Date { get; set; }
- /// <summary>
- /// The booked time of the EquipmentAssignment
- /// At this stage, we're not going to deal with actual versus booked times
- /// The booked time is assumed to be the actual time
- /// </summary>
- [EditorSequence(4)]
- [CoreTimeEditor(Editable = Editable.Hidden)]
- public TimeBlock Booked { get; set; }
- [EditorSequence(5)]
- [CoreTimeEditor(Editable = Editable.Hidden)]
- public JobLink JobLink { get; set; }
- }
- }
|