| 12345678910111213141516171819202122232425 |
- using System;
- using Comal.Classes;
- namespace comal.timesheets
- {
- public class AssignmentFormShell : DetailShell<AssignmentDetailModel,AssignmentForm>, IDigitalFormInstanceShell
- {
- static AssignmentFormShell()
- {
- Columns
- .Map(nameof(ID), x => x.ID)
- .Map(nameof(FormID), x => x.Form.ID)
- .Map(nameof(Code), x => x.Form.Code)
- .Map(nameof(Description), x => x.Form.Description)
- .Map(nameof(Completed), x => x.FormCompleted);
- }
- public Guid ID => Get<Guid>();
- public Guid FormID => Get<Guid>();
- public String Code => Get<String>();
- public String Description => Get<String>();
- public DateTime Completed => Get<DateTime>();
- }
- }
|