| | 1 | | using MUNity.Database.Models.Conference.Roles; |
| | 2 | | using System; |
| | 3 | | using System.Collections.Generic; |
| | 4 | | using System.ComponentModel.DataAnnotations; |
| | 5 | | using System.ComponentModel.DataAnnotations.Schema; |
| | 6 | | using System.Linq; |
| | 7 | | using System.Runtime.Serialization; |
| | 8 | | using System.Text.Json.Serialization; |
| | 9 | | using System.Threading.Tasks; |
| | 10 | |
|
| | 11 | | namespace MUNity.Database.Models.Conference; |
| | 12 | |
|
| | 13 | | /// <summary> |
| | 14 | | /// A team role group is as the name suggests a grouping of team roles. |
| | 15 | | /// For example could different organizational team roles be grouped into |
| | 16 | | /// "main organization team". |
| | 17 | | /// </summary> |
| | 18 | | public class TeamRoleGroup |
| | 19 | | { |
| | 20 | |
|
| 0 | 21 | | public int TeamRoleGroupId { get; set; } |
| | 22 | |
|
| | 23 | | [MaxLength(150)] |
| | 24 | | [Required] |
| 9 | 25 | | public string Name { get; set; } |
| | 26 | |
|
| | 27 | | [MaxLength(250)] |
| 7 | 28 | | public string FullName { get; set; } |
| | 29 | |
|
| | 30 | | [MaxLength(10)] |
| 5 | 31 | | public string TeamRoleGroupShort { get; set; } |
| | 32 | |
|
| 3 | 33 | | public int GroupLevel { get; set; } |
| | 34 | |
|
| 0 | 35 | | public Conference Conference { get; set; } |
| | 36 | |
|
| 24 | 37 | | public ICollection<ConferenceTeamRole> TeamRoles { get; set; } = new List<ConferenceTeamRole>(); |
| | 38 | |
|
| | 39 | | } |