StockHoldingLink.cs 882 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using InABox.Core;
  3. namespace Comal.Classes
  4. {
  5. // Because StockHolding is now Automagically Generated (Yay for Views)
  6. // There is no such thing anymore as a StockHoldingLink (no ID)
  7. // So this needs to be changed to a StockLocationLink
  8. [Obsolete("Replaced with StockLocationLink")]
  9. public class StockHoldingLink : EntityLink<StockHolding>, IStockHolding
  10. {
  11. [LookupEditor(typeof(StockHolding))]
  12. public override Guid ID { get; set; }
  13. [NullEditor]
  14. public JobLink Job { get; set; }
  15. [NullEditor]
  16. public StockLocationLink Location { get; set; }
  17. [NullEditor]
  18. public ProductLink Product { get; set; }
  19. [NullEditor]
  20. public ProductStyleLink Style { get; set; }
  21. [NullEditor]
  22. public StockDimensions Dimensions { get; set; }
  23. }
  24. }