using System; using Comal.Classes; namespace comal.timesheets { public class JobKanbanShell : Shell { static JobKanbanShell() { Columns .Map(nameof(JobID), x => x.JobLink.ID) .Map(nameof(ID), x => x.ID) .Map(nameof(Number), x => x.Number) .Map(nameof(Title), x => x.Title) .Map(nameof(Description), x => x.Description) .Map(nameof(Type), x=>x.Type.Code) .Map(nameof(DueDate), x=>x.DueDate) .Map(nameof(Completed), x => x.Completed) .Map(nameof(Category), x => x.Category); } public Guid JobID => Get(); public Guid ID => Get(); public int Number => Get(); public String Title => Get(); public String Description => Get(); public String Type => Get(); public DateTime DueDate => Get(); public DateTime Completed => Get(); public String Category => Get(); } }