using System; using System.Collections.Generic; using Comal.Classes; using InABox.Mobile; using Xamarin.CommunityToolkit.ObjectModel; namespace PRS.Mobile { public class StockMovementBatchShell : Shell { protected override void ConfigureColumns(ShellColumns columns) { columns .Map(nameof(Type), x => x.Type) .Map(nameof(EmployeeID), x => x.Employee.ID) .Map(nameof(Notes), x=>x.Notes) .Map(nameof(Timestamp), x=>x.TimeStamp) ; } public StockMovementBatchType Type { get => Get(); set => Set(value); } public Guid EmployeeID { get => Get(); set => Set(value); } public String Notes { get => Get(); set => Set(value); } public DateTime Timestamp { get => Get(); set => Set(value); } } }