| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- using System;
- using Comal.Classes;
- using InABox.Core;
- using InABox.Mobile;
- using Syncfusion.Pdf.Xmp;
- namespace PRS.Mobile
- {
- public class StockMovementBatchDocumentModel : CoreRepository<StockMovementBatchDocumentModel, StockMovementBatchDocumentShell, StockMovementBatchDocument>
- {
- public StockMovementBatchDocumentModel(IModelHost host, Func<Filter<StockMovementBatchDocument>> filter): base(host, filter)
- {
- }
-
- }
-
- public class StockMovementBatchDocumentShell : Shell<StockMovementBatchDocumentModel, StockMovementBatchDocument>
- {
-
- protected override void ConfigureColumns(ShellColumns<StockMovementBatchDocumentModel, StockMovementBatchDocument> columns)
- {
- columns
- .Map(nameof(DocumentID), x=>x.DocumentLink.ID)
- .Map(nameof(BatchID), x=>x.EntityLink.ID)
- .Map(nameof(Thumbnail), x=>x.Thumbnail)
- ;
- }
- public Guid DocumentID
- {
- get => Get<Guid>();
- set => Set(value);
- }
-
- public Guid BatchID
- {
- get => Get<Guid>();
- set => Set(value);
- }
-
- public byte[]? Thumbnail
- {
- get => Get<byte[]?>();
- set => Set(value);
- }
-
- }
- }
|