| | | 1 | | using System; |
| | | 2 | | using System.Collections.Generic; |
| | | 3 | | using System.Linq; |
| | | 4 | | using System.Text; |
| | | 5 | | using System.Threading.Tasks; |
| | | 6 | | using MUNity.Base; |
| | | 7 | | using MUNity.Database.Models.Website; |
| | | 8 | | using MUNityBase; |
| | | 9 | | |
| | | 10 | | namespace MUNity.Database.Models.Conference |
| | | 11 | | { |
| | | 12 | | public class DelegationApplication |
| | | 13 | | { |
| | 0 | 14 | | public int DelegationApplicationId { get; set; } |
| | | 15 | | |
| | 7 | 16 | | public ICollection<DelegationApplicationPickedDelegation> DelegationWishes { get; set; } |
| | | 17 | | |
| | 6 | 18 | | public ICollection<DelegationApplicationUserEntry> Users { get; set; } |
| | | 19 | | |
| | 1 | 20 | | public DateTime ApplyDate { get; set; } |
| | | 21 | | |
| | 2 | 22 | | public ICollection<ConferenceDelegationApplicationFieldInput> FormulaInputs { get; set; } |
| | | 23 | | |
| | | 24 | | /// <summary> |
| | | 25 | | /// Are Others able to see this application and add themselfs to it. |
| | | 26 | | /// </summary> |
| | 2 | 27 | | public bool OpenToPublic { get; set; } |
| | | 28 | | |
| | 0 | 29 | | public string Expose { get; set; } |
| | | 30 | | |
| | 1 | 31 | | public ApplicationStatuses Status { get; set; } |
| | | 32 | | |
| | | 33 | | /// <summary> |
| | | 34 | | /// Guests are people like teachers etc. |
| | | 35 | | /// when they are included a new empty Delegate Role needs to be created |
| | | 36 | | /// for each guest. |
| | | 37 | | /// </summary> |
| | 0 | 38 | | public int? GuestsCount { get; set; } |
| | | 39 | | |
| | | 40 | | /// <summary> |
| | | 41 | | /// It is possible to get the Conference by using the Delegation Wishes, |
| | | 42 | | /// but once an Applicaiton has no wishes on it, it can't be found anymore |
| | | 43 | | /// Thats why there is also a Conference Tag here. |
| | | 44 | | /// </summary> |
| | 1 | 45 | | public Conference Conference { get; set; } |
| | | 46 | | } |
| | | 47 | | } |