|
@@ -1,6 +1,7 @@
|
|
|
using InABox.Core;
|
|
|
using Newtonsoft.Json.Linq;
|
|
|
using System;
|
|
|
+using System.Collections;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
@@ -36,6 +37,25 @@ namespace Comal.Classes
|
|
|
static StagingSetoutComponent()
|
|
|
{
|
|
|
LinkedProperties.Register<StagingSetoutComponent, ProductLink, string>(x => x.Product, x => x.Name, x => x.Description);
|
|
|
+ LinkedProperties.Register<StagingSetoutComponent, ProductLink, string>(x => x.Product, x => x.Name, x => x.Description);
|
|
|
+
|
|
|
+ LinkedProperties.Register<StagingSetoutComponent, ProductDimensionUnitLink, Guid>(x => x.Product.Dimensions.Unit, x => x.ID, x => x.Dimensions.Unit.ID);
|
|
|
+ LinkedProperties.Register<StagingSetoutComponent, ProductDimensionUnitLink, String>(x => x.Product.Dimensions.Unit, x => x.Code, x => x.Dimensions.Unit.Code);
|
|
|
+ LinkedProperties.Register<StagingSetoutComponent, ProductDimensionUnitLink, String>(x => x.Product.Dimensions.Unit, x => x.Description, x => x.Dimensions.Unit.Description);
|
|
|
+ LinkedProperties.Register<StagingSetoutComponent, ProductDimensionUnitLink, bool>(x => x.Product.Dimensions.Unit, x => x.HasLength, x => x.Dimensions.Unit.HasLength);
|
|
|
+ LinkedProperties.Register<StagingSetoutComponent, ProductDimensionUnitLink, bool>(x => x.Product.Dimensions.Unit, x => x.HasHeight, x => x.Dimensions.Unit.HasHeight);
|
|
|
+ LinkedProperties.Register<StagingSetoutComponent, ProductDimensionUnitLink, bool>(x => x.Product.Dimensions.Unit, x => x.HasQuantity, x => x.Dimensions.Unit.HasQuantity);
|
|
|
+ LinkedProperties.Register<StagingSetoutComponent, ProductDimensionUnitLink, bool>(x => x.Product.Dimensions.Unit, x => x.HasWeight, x => x.Dimensions.Unit.HasWeight);
|
|
|
+ LinkedProperties.Register<StagingSetoutComponent, ProductDimensionUnitLink, bool>(x => x.Product.Dimensions.Unit, x => x.HasWidth, x => x.Dimensions.Unit.HasWidth);
|
|
|
+ LinkedProperties.Register<StagingSetoutComponent, ProductDimensionUnitLink, String>(x => x.Product.Dimensions.Unit, x => x.Formula, x => x.Dimensions.Unit.Formula);
|
|
|
+ LinkedProperties.Register<StagingSetoutComponent, ProductDimensionUnitLink, String>(x => x.Product.Dimensions.Unit, x => x.Format, x => x.Dimensions.Unit.Format);
|
|
|
+ LinkedProperties.Register<StagingSetoutComponent, ProductDimensions, double>(x => x.Product.Dimensions, x => x.Height, x => x.Dimensions.Height);
|
|
|
+ LinkedProperties.Register<StagingSetoutComponent, ProductDimensions, double>(x => x.Product.Dimensions, x => x.Length, x => x.Dimensions.Length);
|
|
|
+ LinkedProperties.Register<StagingSetoutComponent, ProductDimensions, double>(x => x.Product.Dimensions, x => x.Quantity, x => x.Dimensions.Quantity);
|
|
|
+ LinkedProperties.Register<StagingSetoutComponent, ProductDimensions, double>(x => x.Product.Dimensions, x => x.Weight, x => x.Dimensions.Weight);
|
|
|
+ LinkedProperties.Register<StagingSetoutComponent, ProductDimensions, double>(x => x.Product.Dimensions, x => x.Width, x => x.Dimensions.Width);
|
|
|
+ LinkedProperties.Register<StagingSetoutComponent, ProductDimensions, double>(x => x.Product.Dimensions, x => x.Value, x => x.Dimensions.Value);
|
|
|
+ LinkedProperties.Register<StagingSetoutComponent, ProductDimensions, String>(x => x.Product.Dimensions, x => x.UnitSize, x => x.Dimensions.UnitSize);
|
|
|
}
|
|
|
|
|
|
protected override void Init()
|