JobProductMapping.cs 560 B

12345678910111213141516171819202122
  1. using InABox.Core;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace Comal.Classes
  6. {
  7. public class JobProductMapping : Entity, IRemotable, IPersistent, IOneToMany<Job>
  8. {
  9. [CodeEditor(Editable = Editable.Enabled)]
  10. public string Code { get; set; }
  11. public JobLink Job { get; set; }
  12. public ProductLink Product { get; set; }
  13. public JobProductMapping()
  14. {
  15. Code = "";
  16. Job = new JobLink();
  17. Product = new ProductLink(() => this);
  18. }
  19. }
  20. }