DeliveryDetailItemShell.cs 766 B

1234567891011121314151617181920212223
  1. using System;
  2. using Comal.Classes;
  3. namespace PRS.Mobile
  4. {
  5. public class DeliveryDetailItemShell : Shell<DeliveryDetailModel, DeliveryItem>
  6. {
  7. protected override void ConfigureColumns(ShellColumns<DeliveryDetailModel, DeliveryItem> columns)
  8. {
  9. columns
  10. .Map(nameof(Description), x => x.Description)
  11. .Map(nameof(Setout), x => x.ManufacturingPacketLink.SetoutLink.Number)
  12. .Map(nameof(Rack), x => x.ShipmentLink.Code)
  13. .Map(nameof(Requi), x => x.RequisitionLink.Number);
  14. }
  15. public String Description => Get<String>();
  16. public string Setout => Get<String>();
  17. public string Rack => Get<String>();
  18. public int Requi => Get<int>();
  19. }
  20. }