using System; using Comal.Classes; namespace comal.timesheets { public class EmployeeFormShell : DetailShell, IDigitalFormInstanceShell { static EmployeeFormShell() { Columns .Map(nameof(ID), x => x.Form.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(); public Guid FormID => Get(); public String Code => Get(); public String Description => Get(); public DateTime Completed => Get(); } /* public class EmployeeFormShell { public Guid ID { get; set; } public string Description { get; set; } public Color Color { get; set; } public DateTime Completed { get; set; } public string Status { get; set; } public string Created { get; set; } public string Role { get; set; } public EmployeeFormShell() { ID = Guid.Empty; Description = ""; Color = Color.Default; Completed = DateTime.MinValue; Status = ""; Created = ""; Role = ""; } } */ }