using System;
using System.ComponentModel;
using InABox.Core;
namespace Comal.Classes
{
///
/// Allows other entities to link to an EquipmentAssignment
///
public class EquipmentAssignmentLink : EntityLink
{
///
/// The ID of the linked EquipmentAssignment
///
[EditorSequence(1)]
[LookupEditor(typeof(EquipmentAssignment))]
public override Guid ID { get; set; }
///
/// The Number of the linked EquipmentAssignment
///
[EditorSequence(2)]
[IntegerEditor(Editable = Editable.Hidden)]
public int Number { get; set; }
///
/// The date of the EquipmentAssignment
///
[EditorSequence(3)]
[DateTimeEditor(Editable = Editable.Hidden)]
public DateTime Date { get; set; }
///
/// 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
///
[EditorSequence(4)]
[CoreTimeEditor(Editable = Editable.Hidden)]
public TimeBlock Booked { get; set; }
[EditorSequence(5)]
[CoreTimeEditor(Editable = Editable.Hidden)]
public JobLink JobLink { get; set; }
}
}