| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- using System;
- using Comal.Classes;
- using InABox.Core;
- using Xamarin.Forms;
- namespace PRS.Mobile
- {
- public class KanbanFormShell : Shell<KanbanFormModel, KanbanForm>, IDigitalFormInstanceShell
- {
- protected override void ConfigureColumns(ShellColumns<KanbanFormModel, KanbanForm> columns)
- {
- columns
- .Map(nameof(ID), x => x.ID)
- .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 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);
- }
- }
- }
|