using System; using InABox.Core; using InABox.Mobile; namespace PRS.Mobile { public class DocumentShell : Shell { protected override void ConfigureColumns(ShellColumns columns) { columns .Map(nameof(FileName), x => x.FileName) .Map(nameof(Data), x => x.Data) .Map(nameof(CRC), x => x.CRC) .Map(nameof(TimeStamp), x => x.TimeStamp); } public string FileName { get => Get(); set => Set(value); } public byte[] Data { get => Get(); set => Set(value); } public string CRC { get => Get(); set => Set(value); } public DateTime TimeStamp { get => Get(); set => Set(value); } } }