| 12345678910111213141516171819202122232425262728293031323334 |
- using System;
- using Comal.Classes;
- namespace PRS.Mobile
- {
- public class ProductDimensionUnitShell : Shell<ProductModel, ProductDimensionUnit>
- {
- protected override void ConfigureColumns(ShellColumns<ProductModel, ProductDimensionUnit> 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<Guid>();
- public string Code => Get<string>();
- public string Description => Get<string>();
- public bool HasHeight => Get<bool>();
- public bool HasLength => Get<bool>();
- public bool HasWidth => Get<bool>();
- public bool HasWeight => Get<bool>();
- public bool HasQuantity => Get<bool>();
- public string Formula => Get<String>();
- public string Format => Get<String>();
- }
- }
|