SetoutLink.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System;
  2. using InABox.Core;
  3. namespace Comal.Classes
  4. {
  5. public class SetoutLink : EntityLink<Setout>
  6. {
  7. public SetoutLink()
  8. {
  9. JobLink = new JobLink();
  10. }
  11. [SecondaryIndex]
  12. [LookupEditor(typeof(Setout))]
  13. public override Guid ID { get; set; }
  14. [TextBoxEditor(Editable = Editable.Hidden)]
  15. public string Number { get; set; }
  16. [TextBoxEditor(Editable = Editable.Hidden)]
  17. public string Description { get; set; }
  18. [TextBoxEditor(Editable = Editable.Hidden)]
  19. [Obsolete("Superceded by ManufacturingPacketLink.Serial")]
  20. public string Reference { get; set; }
  21. [TextBoxEditor(Editable = Editable.Hidden)]
  22. [Obsolete("Superceded by ManufacturingPacket.Location")]
  23. public string Location { get; set; }
  24. [NullEditor]
  25. public JobLink JobLink { get; set; }
  26. public SetoutGroupLink Group { get; set; }
  27. protected override void Init()
  28. {
  29. Group = new SetoutGroupLink();
  30. base.Init();
  31. }
  32. }
  33. }