1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- using System;
- using Comal.Classes;
- using InABox.Mobile;
- namespace PRS.Mobile
- {
- public class ConsignmentShell : Shell<ConsignmentModel, Consignment>
- {
- protected override void ConfigureColumns(ShellColumns<ConsignmentModel, Consignment> columns)
- {
- columns
- .Map(nameof(Number), x => x.Number)
- .Map(nameof(Description), x => x.Description)
- .Map(nameof(SupplierID), x => x.Supplier.ID)
- .Map(nameof(SupplierName), x => x.Supplier.Name)
- .Map(nameof(TypeID), x => x.Type.ID)
- .Map(nameof(TypeDescription), x => x.Type.Description)
- .Map(nameof(EstimatedWarehouseArrival), x => x.EstimatedWarehouseArrival)
- .Map(nameof(ActualWarehouseArrival), x => x.ActualWarehouseArrival);
- }
- public string Number
- {
- get => Get<string>();
- set => Set(value);
- }
- public string Description
- {
- get => Get<string>();
- set => Set(value);
- }
-
- public Guid SupplierID
- {
- get => Get<Guid>();
- set => Set(value);
- }
- public string SupplierName
- {
- get => Get<string>();
- set => Set(value);
- }
-
- public Guid TypeID
- {
- get => Get<Guid>();
- set => Set(value);
- }
- public string TypeDescription
- {
- get => Get<string>();
- set => Set(value);
- }
-
- public DateTime EstimatedWarehouseArrival {
- get => Get<DateTime>();
- set => Set(value);
- }
-
- public DateTime ActualWarehouseArrival {
- get => Get<DateTime>();
- set => Set(value);
- }
-
- }
- }
|