| | 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.Text.Json.Serialization; |
| | 7 | | using System.Threading.Tasks; |
| | 8 | |
|
| | 9 | | namespace MUNity.Database.Models.Conference; |
| | 10 | |
|
| | 11 | | /// <summary> |
| | 12 | | /// A topic that this committee is discussing on the conference. |
| | 13 | | /// Every committee can discuss different topics. |
| | 14 | | /// </summary> |
| | 15 | | public class CommitteeTopic |
| | 16 | | { |
| 1 | 17 | | public int CommitteeTopicId { get; set; } |
| | 18 | |
|
| | 19 | | [MaxLength(150)] |
| 24 | 20 | | public string TopicName { get; set; } |
| | 21 | |
|
| | 22 | | [MaxLength(250)] |
| 46 | 23 | | public string TopicFullName { get; set; } |
| | 24 | |
|
| 2 | 25 | | public string TopicDescription { get; set; } |
| | 26 | |
|
| | 27 | | [MaxLength(32)] |
| 2 | 28 | | public string TopicCode { get; set; } |
| | 29 | |
|
| 3 | 30 | | public Committee Committee { get; set; } |
| | 31 | | } |