| | | 1 | | using System; |
| | | 2 | | using System.Collections.Generic; |
| | | 3 | | using System.Linq; |
| | | 4 | | using System.Threading.Tasks; |
| | | 5 | | |
| | | 6 | | namespace MUNity.Database.Models.Resolution; |
| | | 7 | | |
| | | 8 | | public class TagModel |
| | | 9 | | { |
| | | 10 | | /// <summary> |
| | | 11 | | /// To Identify the Tag later |
| | | 12 | | /// </summary> |
| | 0 | 13 | | public string Id { get; set; } |
| | | 14 | | |
| | | 15 | | /// <summary> |
| | | 16 | | /// A Tag has a type, for example: success, danger, error etc. |
| | | 17 | | /// The types are inside a string and not an enum because they are a string |
| | | 18 | | /// and not an enum. |
| | | 19 | | /// </summary> |
| | 0 | 20 | | public string Type { get; set; } |
| | | 21 | | |
| | | 22 | | /// <summary> |
| | | 23 | | /// The Text of the Tag, should be short but is not limited by default. |
| | | 24 | | /// </summary> |
| | 0 | 25 | | public string Text { get; set; } |
| | | 26 | | |
| | 0 | 27 | | public TagModel() |
| | 0 | 28 | | { |
| | 0 | 29 | | this.Id = Guid.NewGuid().ToString(); |
| | 0 | 30 | | } |
| | | 31 | | } |