JobDocumentSetFolderShell.cs 530 B

1234567891011121314151617181920
  1. using System;
  2. using Comal.Classes;
  3. namespace comal.timesheets
  4. {
  5. public class JobDocumentSetFolderShell : Shell<JobDetailModel, JobDocumentSetFolder>
  6. {
  7. static JobDocumentSetFolderShell()
  8. {
  9. Columns
  10. .Map(nameof(ID), x => x.ID)
  11. .Map(nameof(ParentID), x => x.Parent.ID)
  12. .Map(nameof(Name), x => x.Name);
  13. }
  14. public Guid ID => Get<Guid>();
  15. public Guid ParentID => Get<Guid>();
  16. public String Name => Get<String>();
  17. }
  18. }