KanbanReference.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. using System;
  2. using InABox.Core;
  3. namespace Comal.Classes
  4. {
  5. public abstract class EntityKanban<TEntity, TLink> : Entity, IRemotable, IPersistent, ILicense<TaskManagementLicense>
  6. where TEntity : Entity
  7. where TLink : IEntityLink<TEntity>, new()
  8. {
  9. [EntityRelationship(DeleteAction.Cascade)]
  10. public TLink Entity { get; set; }
  11. [EntityRelationship(DeleteAction.Cascade)]
  12. public KanbanLink Kanban { get; set; }
  13. }
  14. public class PickingListKanban : EntityKanban<PickingList, PickingListLink>
  15. {
  16. }
  17. [Obsolete("Replaced with PickingListKanban")]
  18. public class RequisitionKanban : EntityKanban<Requisition, RequisitionLink>
  19. {
  20. }
  21. public class SetoutKanban : EntityKanban<Setout, SetoutLink>
  22. {
  23. }
  24. public class DeliveryKanban : EntityKanban<Delivery, DeliveryLink>
  25. {
  26. }
  27. public class PurchaseOrderKanban : EntityKanban<PurchaseOrder, PurchaseOrderLink>
  28. {
  29. }
  30. public class ManufacturingPacketKanban : EntityKanban<ManufacturingPacket, ManufacturingPacketLink>
  31. {
  32. }
  33. public class JobRequisitionKanban : EntityKanban<JobRequisition, JobRequisitionLink>
  34. {
  35. }
  36. public class MeetingItemKanban : EntityKanban<MeetingItem, MeetingItemLink>
  37. {
  38. }
  39. public class JobDocumentSetMileStoneKanban : EntityKanban<JobDocumentSetMileStone, JobDocumentSetMileStoneLink>
  40. {
  41. }
  42. }