using System; using Comal.Classes; namespace PRS.Mobile { public class ProductDimensionUnitShell : Shell { protected override void ConfigureColumns(ShellColumns columns) { columns .Map(nameof(ID), x => x.ID) .Map(nameof(Code), x => x.Code) .Map(nameof(Description), x => x.Description) .Map(nameof(HasHeight), x => x.HasHeight) .Map(nameof(HasLength), x => x.HasLength) .Map(nameof(HasWidth), x => x.HasWidth) .Map(nameof(HasWeight), x => x.HasWeight) .Map(nameof(HasQuantity), x => x.HasQuantity) .Map(nameof(Formula), x => x.Formula) .Map(nameof(Format), x => x.Format); } public Guid ID => Get(); public string Code => Get(); public string Description => Get(); public bool HasHeight => Get(); public bool HasLength => Get(); public bool HasWidth => Get(); public bool HasWeight => Get(); public bool HasQuantity => Get(); public string Formula => Get(); public string Format => Get(); } }