ProductDimensionUnitLink.cs 673 B

123456789101112131415161718192021
  1. using System;
  2. using InABox.Core;
  3. using PRSClasses;
  4. namespace Comal.Classes
  5. {
  6. public class ProductDimensionUnitLink : DimensionUnitLink<ProductDimensionUnit>
  7. {
  8. [Obsolete("You should always provide a Linked Entity", true)]
  9. public ProductDimensionUnitLink()
  10. {
  11. }
  12. public ProductDimensionUnitLink(Func<BaseObject>? entity) : base(entity)
  13. {
  14. }
  15. [LookupEditor(typeof(ProductDimensionUnit), nameof(Code), nameof(Description), nameof(HasQuantity), nameof(HasLength), nameof(HasWidth), nameof(HasHeight), nameof(HasWeight), nameof(Formula), nameof(Format))]
  16. public override Guid ID { get; set; }
  17. }
  18. }