using System; using Comal.Classes; namespace comal.timesheets { public class BluetoothGateShell : Shell { static BluetoothGateShell() { Columns.Map(nameof(ID), x => x.ID) .Map(nameof(JobID), x => x.JobLink.ID) .Map(nameof(JobNumber), x => x.JobLink.JobNumber) .Map(nameof(JobName), x => x.JobLink.Name) .Map(nameof(TrackerID), x => x.TrackerLink.ID) .Map(nameof(DeviceID), x => x.TrackerLink.DeviceID) .Map(nameof(Gate), x => x.Gate) .Map(nameof(IsJobSite), x => x.IsJobSite); } public Guid ID => Get(); public Guid JobID => Get(); public String JobNumber => Get(); public String JobName => Get(); public Guid TrackerID => Get(); public String DeviceID => Get(); public String Gate => Get(); public bool IsJobSite => Get(); } }