| 1234567891011121314151617181920212223242526272829 |
- using System;
- using Comal.Classes;
- using InABox.Mobile;
- namespace PRS.Mobile
- {
- public class ShipmentShell : Shell<ShipmentModel, Shipment>
- {
- protected override void ConfigureColumns(ShellColumns<ShipmentModel, Shipment> columns)
- {
- columns
- .Map(nameof(Code), x=>x.Code)
- .Map(nameof(Description), x => x.Description)
- .Map(nameof(ItemCount), x=>x.ItemCount)
- .Map(nameof(DeliveryID), x=>x.Delivery.ID);
- }
-
- public String Code => Get<String>();
- public String Description => Get<String>();
- public int ItemCount => Get<int>();
- public Guid DeliveryID
- {
- get => Get<Guid>();
- set => Set(value);
- }
- }
- }
|