| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- using System;
- using Comal.Classes;
- using InABox.Core;
- using Xamarin.Forms;
- namespace PRS.Mobile
- {
- public class AssignmentFormShell : Shell<AssignmentDetailModel,AssignmentForm>, IDigitalFormInstanceShell
- {
- protected override void ConfigureColumns(ShellColumns<AssignmentDetailModel, AssignmentForm> columns)
- {
- columns
- .Map(nameof(ID), x => x.ID)
- .Map(nameof(Number), x=>x.Number)
- .Map(nameof(ParentID), x => x.Parent.ID)
- .Map(nameof(FormID), x=>x.Form.ID)
- .Map(nameof(FormCode), x => x.Form.Code)
- .Map(nameof(FormDescription), x => x.Form.Description)
- .Map(nameof(Completed), x => x.FormCompleted)
- .Map(nameof(Data), x=>x.FormData)
- .Map(nameof(Created), x=>x.Created);
- }
- public Guid ID => Get<Guid>();
- public String Number => Get<String>();
-
- public Guid ParentID
- {
- get => Get<Guid>();
- set => Set(value);
- }
- public Guid FormID
- {
- get => Get<Guid>();
- set => Set(value);
- }
- public String FormCode
- {
- get => Get<String>();
- set => Set(value);
- }
- public String FormDescription
- {
- get => Get<String>();
- set => Set(value);
- }
-
- public DateTime Created => Get<DateTime>();
-
- public DateTime Completed
- {
- get => Get<DateTime>();
- set => Set(value);
- }
-
- public String Data
- {
- get => Get<String>();
- set => Set(value);
- }
-
- }
- }
|