| 12345678910111213141516171819202122232425262728293031 |
- using System;
- using Comal.Classes;
- namespace comal.timesheets
- {
- public class EquipmentKanbanShell : DetailShell<EquipmentDetailModel, Kanban>
- {
- static EquipmentKanbanShell()
- {
- Columns
- .Map(nameof(EquipmentID), x => x.Equipment.ID)
- .Map(nameof(KanbanID), x => x.ID)
- .Map(nameof(Number), x => x.Number)
- .Map(nameof(Title), x => x.Title)
- .Map(nameof(Description), x => x.Description)
- .Map(nameof(EmployeeName), x => x.EmployeeLink.Name)
- .Map(nameof(Completed), x => x.Completed)
- .Map(nameof(Attachments) , x => x.Attachments);
- }
- public Guid EquipmentID => Get<Guid>();
- public Guid KanbanID => Get<Guid>();
- public int Number => Get<int>();
- public String Title => Get<String>();
- public String Description => Get<String>();
- public String EmployeeName => Get<String>();
- public DateTime Completed => Get<DateTime>();
- public int Attachments => Get<int>();
- }
- }
|