using System; using Comal.Classes; using InABox.Mobile; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace PRS.Mobile { public class EmployeeDetailShell : Shell { protected override void ConfigureColumns(ShellColumns columns) { columns .Map(nameof(Code), x => x.Code) .Map(nameof(Name), x => x.Name) .Map(nameof(UserID), x => x.UserLink.ID) .Map(nameof(ThumbnailID), x => x.Thumbnail.ID) .Map(nameof(Mobile), x => x.Mobile) .Map(nameof(Email), x => x.Email) .Map(nameof(Signature), x => x.Signature); } public String Code => Get(); public String Name => Get(); public Guid UserID => Get(); public Guid ThumbnailID { get => Get(); set => Set(value); } public String Mobile { get => Get(); set => Set(value); } public String Email { get => Get(); set => Set(value); } public byte[] Signature { get => Get(); set => Set(value); } } }