123456789101112131415161718192021222324252627282930313233 |
- using System;
- using Comal.Classes;
- namespace comal.timesheets
- {
- public class JobKanbanShell : Shell<JobDetailModel, Kanban>
- {
- 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<Guid>();
- public Guid ID => Get<Guid>();
- public int Number => Get<int>();
- public String Title => Get<String>();
- public String Description => Get<String>();
- public String Type => Get<String>();
- public DateTime DueDate => Get<DateTime>();
- public DateTime Completed => Get<DateTime>();
- public String Category => Get<String>();
- }
- }
|