| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- using System;
- using System.Collections.ObjectModel;
- using Comal.Classes;
- using InABox.Core;
- using InABox.Mobile;
- namespace PRS.Mobile
- {
- public class MeetingShell : Shell<MeetingModel, Assignment>
- {
- protected override void ConfigureColumns(ShellColumns<MeetingModel, Assignment> columns)
- {
- columns
- .Map(nameof(MeetingID), x => x.Meeting.Link.ID)
- .Map(nameof(Number), x => x.Meeting.Link.Number)
- .Map(nameof(Title), x => x.Meeting.Link.Title)
- .Map(nameof(Description), x => x.Meeting.Link.Description)
- .Map(nameof(Date), x => x.Meeting.Link.Date)
- .Map(nameof(Start), x => x.Meeting.Link.Time.Start)
- .Map(nameof(Finish), x => x.Meeting.Link.Time.Finish)
- .Map(nameof(RSVP), x => x.Meeting.RSVP)
- ;
- }
-
- public Guid MeetingID => Get<Guid>();
- public int Number => Get<int>();
- public String Title => Get<String>();
- public String Description => Get<String>();
- public DateTime Date => Get<DateTime>();
- public TimeSpan Start => Get<TimeSpan>();
- public TimeSpan Finish => Get<TimeSpan>();
- public DateTime RSVP
- {
- get => Get<DateTime>();
- set => Set(value);
- }
-
- }
- }
|