| | 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 ResaOperativeParagraph |
| | 9 | | { |
| 8 | 10 | | public string ResaOperativeParagraphId { get; set; } |
| | 11 | |
|
| 8 | 12 | | public string Name { get; set; } = ""; |
| | 13 | |
|
| 8 | 14 | | public string Text { get; set; } = ""; |
| | 15 | |
|
| 8 | 16 | | public bool IsLocked { get; set; } = false; |
| | 17 | |
|
| 8 | 18 | | public bool IsVirtual { get; set; } = false; |
| | 19 | |
|
| 8 | 20 | | public bool Visible { get; set; } = true; |
| | 21 | |
|
| 8 | 22 | | public bool Corrected { get; set; } = false; |
| | 23 | |
|
| 8 | 24 | | public ICollection<ResaOperativeParagraph> Children { get; set; } |
| | 25 | |
|
| 8 | 26 | | public string Comment { get; set; } = ""; |
| | 27 | |
|
| 1 | 28 | | public int OrderIndex { get; set; } |
| | 29 | |
|
| 2 | 30 | | public ResaElement Resolution { get; set; } |
| | 31 | |
|
| 0 | 32 | | public ResaOperativeParagraph Parent { get; set; } |
| | 33 | |
|
| 8 | 34 | | public ICollection<ResaDeleteAmendment> DeleteAmendments { get; set; } |
| 8 | 35 | | public ICollection<ResaChangeAmendment> ChangeAmendments { get; set; } |
| | 36 | |
|
| 8 | 37 | | public ICollection<ResaMoveAmendment> MoveAmendments { get; set; } |
| | 38 | |
|
| 7 | 39 | | public ResaOperativeParagraph() |
| 7 | 40 | | { |
| 7 | 41 | | ResaOperativeParagraphId = Guid.NewGuid().ToString(); |
| 7 | 42 | | Children = new List<ResaOperativeParagraph>(); |
| 7 | 43 | | DeleteAmendments = new List<ResaDeleteAmendment>(); |
| 7 | 44 | | ChangeAmendments = new List<ResaChangeAmendment>(); |
| 7 | 45 | | MoveAmendments = new List<ResaMoveAmendment>(); |
| 7 | 46 | | } |
| | 47 | | } |