StockLocationLink.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. using System;
  2. using InABox.Core;
  3. namespace Comal.Classes
  4. {
  5. public class SupplierStockLocationLink : EntityLink<StockLocation>
  6. {
  7. [CodePopupEditor(typeof(StockLocation))]
  8. public override Guid ID { get; set; }
  9. [CodeEditor(Visible = Visible.Default, Editable = Editable.Hidden)]
  10. public string Code { get; set; }
  11. [TextBoxEditor(Editable = Editable.Hidden)]
  12. public string Description { get; set; }
  13. }
  14. public class StockLocationLink : EntityLink<StockLocation>, IStockLocation
  15. {
  16. public StockAreaLink Area { get; set; }
  17. [CodePopupEditor(typeof(StockLocation))]
  18. public override Guid ID { get; set; }
  19. [CodeEditor(Visible = Visible.Default, Editable = Editable.Hidden)]
  20. public string Code { get; set; }
  21. [TextBoxEditor(Editable = Editable.Hidden)]
  22. public string Description { get; set; }
  23. public JobLink Job { get; set; }
  24. [NullEditor]
  25. public bool Active { get; set; }
  26. }
  27. }