| 12345678910111213141516171819202122232425262728 |
- using System;
- using Comal.Classes;
- using InABox.Mobile;
- namespace PRS.Mobile
- {
-
- public class SetoutShell : Shell<SetoutModel, Setout>
- {
- protected override void ConfigureColumns(ShellColumns<SetoutModel, Setout> columns)
- {
- columns
- .Map(nameof(Number), x => x.Number)
- .Map(nameof(Description), x => x.Description)
- .Map(nameof(JobID), x => x.JobLink.ID)
- .Map(nameof(JobNumber), x => x.JobLink.JobNumber)
- .Map(nameof(JobName), x => x.JobLink.Name);
- }
-
- public string Number => Get<string>();
- public string Description => Get<string>();
- public Guid JobID => Get<Guid>();
- public string JobNumber => Get<string>();
- public string JobName => Get<string>();
-
- }
- }
|