JobStyle.cs 539 B

12345678910111213141516171819
  1. using InABox.Core;
  2. namespace Comal.Classes
  3. {
  4. public class JobStyle : Entity, IRemotable, IPersistent, IManyToMany<Job, ProductStyle>, ILicense<ProjectManagementLicense>
  5. {
  6. [EntityRelationship(DeleteAction.Cascade)]
  7. [EditorSequence(1)]
  8. public JobLink Job { get; set; }
  9. [EntityRelationship(DeleteAction.SetNull)]
  10. [EditorSequence(2)]
  11. public ProductStyleLink Style { get; set; }
  12. [EditorSequence(3)]
  13. [MemoEditor]
  14. public string Note { get; set; } = "";
  15. }
  16. }