123456789101112131415161718 |
- using System;
- using Comal.Classes;
- namespace comal.timesheets
- {
- public class DeliveryDocumentShell : DetailShell<DeliveryDetailModel, DeliveryDocument>
- {
- static DeliveryDocumentShell()
- {
- Columns
- .Map(nameof(DocumentID), x => x.DocumentLink.ID)
- .Map(nameof(DocumentName), x => x.DocumentLink.FileName);
- }
-
- public Guid DocumentID => Get<Guid>();
- public String DocumentName => Get<String>();
- }
- }
|