ProductDimensionUnitLink.cs 655 B

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