| | 1 | | using System; |
| | 2 | | using System.Collections.Generic; |
| | 3 | | using System.ComponentModel.DataAnnotations; |
| | 4 | | using System.ComponentModel.DataAnnotations.Schema; |
| | 5 | | using System.Linq; |
| | 6 | | using System.Runtime.Serialization; |
| | 7 | | using System.Threading.Tasks; |
| | 8 | | using System.Text.Json.Serialization; |
| | 9 | | using MUNity.Database.General; |
| | 10 | |
|
| | 11 | | namespace MUNity.Database.Models.Conference.Roles; |
| | 12 | |
|
| | 13 | | /// <summary> |
| | 14 | | /// A Delegate Role is an attendee role that everyone can have that is part of a delegation |
| | 15 | | /// and represents some sort of state/country at the conference. The delegation can be |
| | 16 | | /// the same country/state but is not necessarily. You can also create multiply DelegationWishes Roles |
| | 17 | | /// of different states and put them together into a DelegationWishes named Presidents of Europe. |
| | 18 | | /// |
| | 19 | | /// Every Delegate Role takes a seat inside a Committee |
| | 20 | | /// </summary> |
| | 21 | | public class ConferenceDelegateRole : AbstractConferenceRole |
| | 22 | | { |
| | 23 | |
|
| | 24 | | /// <summary> |
| | 25 | | /// The Country that this Delegate Role represents. |
| | 26 | | /// </summary> |
| 366 | 27 | | public Country DelegateCountry { get; set; } |
| | 28 | |
|
| | 29 | | /// <summary> |
| | 30 | | /// Is this Role a Leader Role of the DelegationWishes |
| | 31 | | /// </summary> |
| 4 | 32 | | public bool IsDelegationLeader { get; set; } |
| | 33 | |
|
| | 34 | | /// <summary> |
| | 35 | | /// The Title of this DelegationWishes Role. This is not the Role Name itself |
| | 36 | | /// The RoleName can be something like: Delegate and the Title is Delegate of Germany in the Assembly General |
| | 37 | | /// </summary> |
| | 38 | |
|
| 4 | 39 | | public string Title { get; set; } |
| | 40 | |
|
| | 41 | | /// <summary> |
| | 42 | | /// A DelegationWishes that this Role is Part for example the DelegationWishes of Germany. |
| | 43 | | /// </summary> |
| 4 | 44 | | public Delegation Delegation { get; set; } |
| | 45 | |
|
| | 46 | | /// <summary> |
| | 47 | | /// The committee that this Role is seated in. |
| | 48 | | /// </summary> |
| 288 | 49 | | public Committee Committee { get; set; } |
| | 50 | |
|
| | 51 | | /// <summary> |
| | 52 | | /// An additional description of the delegate type, for example: |
| | 53 | | /// delegate, president, press, non-goverment etc. |
| | 54 | | /// </summary> |
| 284 | 55 | | public string DelegateType { get; set; } |
| | 56 | |
|
| | 57 | | } |