JobProductMapping.cs 802 B

1234567891011121314151617181920212223242526
  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. [CodeEditor(Editable = Editable.Enabled, Visible = Visible.Default)]
  11. public string Code { get; set; } = "";
  12. [MemoEditor(Visible = Visible.Default)]
  13. public string Description { get; set; } = "";
  14. [EntityRelationship(DeleteAction.Cascade)]
  15. public JobLink Job { get; set; }
  16. [EntityRelationship(DeleteAction.SetNull)]
  17. public ProductLink Product { get; set; }
  18. [EntityRelationship(DeleteAction.SetNull)]
  19. public JobDocumentSetLink JobDocumentSet { get; set; }
  20. }
  21. }