JobProductMapping.cs 960 B

1234567891011121314151617181920212223242526272829303132
  1. using InABox.Core;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq.Expressions;
  5. using System.Text;
  6. namespace Comal.Classes
  7. {
  8. public class JobProductMapping : Entity, IRemotable, IPersistent, ILicense<ProjectManagementLicense>
  9. {
  10. [EntityRelationship(DeleteAction.Cascade)]
  11. [NullEditor]
  12. public JobLink Job { get; set; }
  13. [CodeEditor(Editable = Editable.Enabled, Visible = Visible.Default)]
  14. [EditorSequence(1)]
  15. public string Code { get; set; } = "";
  16. [MemoEditor(Visible = Visible.Default)]
  17. [EditorSequence(2)]
  18. public string Description { get; set; } = "";
  19. [EntityRelationship(DeleteAction.SetNull)]
  20. [EditorSequence(3)]
  21. public ProductLink Product { get; set; }
  22. [EntityRelationship(DeleteAction.SetNull)]
  23. [EditorSequence(3)]
  24. public JobDocumentSetLink JobDocumentSet { get; set; }
  25. }
  26. }