| | | 1 | | using System; |
| | | 2 | | using System.Collections.Generic; |
| | | 3 | | using System.Collections.ObjectModel; |
| | | 4 | | using System.ComponentModel; |
| | | 5 | | using System.Runtime.CompilerServices; |
| | | 6 | | using System.Text; |
| | | 7 | | |
| | | 8 | | namespace MUNity.Models.Resolution |
| | | 9 | | { |
| | | 10 | | |
| | | 11 | | /// <summary> |
| | | 12 | | /// A Preamble Paragraphs. This type of paragraph cannot have amendments or child paragraphs. |
| | | 13 | | /// </summary> |
| | | 14 | | public class PreambleParagraph |
| | | 15 | | { |
| | | 16 | | |
| | | 17 | | /// <summary> |
| | | 18 | | /// The Id of the Preamble Paragraph. |
| | | 19 | | /// </summary> |
| | 0 | 20 | | public string PreambleParagraphId { get; set; } |
| | | 21 | | |
| | | 22 | | /// <summary> |
| | | 23 | | /// The Text (content) of the paragraph. |
| | | 24 | | /// </summary> |
| | 0 | 25 | | public string Text { get; set; } |
| | | 26 | | |
| | | 27 | | /// <summary> |
| | | 28 | | /// is the paragraph marked as locked. This will not effect the Text Property you can still change the Text or c |
| | | 29 | | /// event if this property is set to true (locked). |
| | | 30 | | /// </summary> |
| | 0 | 31 | | public bool IsLocked { get; set; } |
| | | 32 | | |
| | | 33 | | /// <summary> |
| | | 34 | | /// Marks the paragraph as corrected. Note that this property will still keep its value even if the text is chan |
| | | 35 | | /// </summary> |
| | 0 | 36 | | public bool Corrected { get; set; } |
| | | 37 | | |
| | 0 | 38 | | public string Comment { get; set; } |
| | | 39 | | |
| | | 40 | | /// <summary> |
| | | 41 | | /// Creates a new Preamble paragraph. |
| | | 42 | | /// </summary> |
| | 0 | 43 | | public PreambleParagraph() |
| | 0 | 44 | | { |
| | 0 | 45 | | PreambleParagraphId = Guid.NewGuid().ToString(); |
| | 0 | 46 | | } |
| | | 47 | | } |
| | | 48 | | } |