JobDocumentSetLink.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using System;
  2. using InABox.Core;
  3. namespace Comal.Classes
  4. {
  5. public class JobDocumentSetLink : EntityLink<JobDocumentSet>, IJobDocumentSet
  6. {
  7. [NullEditor]
  8. public override Guid ID { get; set; }
  9. [NullEditor]
  10. public JobLink Job { get; set; }
  11. [NullEditor]
  12. public JobDocumentSetFolderLink Folder { get; set; }
  13. [CodeEditor(Editable = Editable.Hidden)]
  14. [EditorSequence(1)]
  15. public string Code { get; set; }
  16. [TextBoxEditor(Editable = Editable.Hidden)]
  17. [EditorSequence(2)]
  18. public string Description { get; set; }
  19. public JobDocumentSetDisciplineLink Discipline { get; set; }
  20. public JobDocumentSetTypeLink Type { get; set; }
  21. public JobDocumentSetCategoryLink Category { get; set; }
  22. public JobITPLink Area { get; set; }
  23. protected override void Init()
  24. {
  25. base.Init();
  26. Job = new JobLink();
  27. Folder = new JobDocumentSetFolderLink();
  28. Discipline = new JobDocumentSetDisciplineLink();
  29. Category = new JobDocumentSetCategoryLink();
  30. Type = new JobDocumentSetTypeLink();
  31. Area = new JobITPLink();
  32. }
  33. }
  34. }