| 1234567891011121314151617181920212223242526272829303132 |
- using System;
- using Comal.Classes;
- using InABox.Core;
- using Xamarin.Forms;
- namespace comal.timesheets
- {
- public class KanbanLookupShell : LookupShell<KanbanLookupModel, Kanban>
- {
-
- static KanbanLookupShell()
- {
- Columns
- .Map(nameof(ID), x => x.ID)
- .Map(nameof(Code), x => x.Number)
- .Map(nameof(Description), x => x.Title)
- .Map(nameof(Notes), x => x.Summary)
- .Map(nameof(Completed), x => x.Completed)
- .Map(nameof(Job), x => x.JobLink.ID)
- .Map(nameof(Equipment), x => x.Equipment.ID);
- }
-
- public override Guid ID => Get<Guid>();
- public override String Code => Get<int>().ToString();
- public override String Description => Get<String>();
- public String Notes => Get<String>();
- public DateTime Completed => Get<DateTime>();
-
- }
- }
|