| | 1 | | using MUNity.Base; |
| | 2 | | using MUNity.Models.Simulation; |
| | 3 | | using System; |
| | 4 | | using System.Collections.Generic; |
| | 5 | | using System.ComponentModel.DataAnnotations; |
| | 6 | | using System.Text; |
| | 7 | |
|
| | 8 | | namespace MUNity.Schema.Simulation |
| | 9 | | { |
| | 10 | | /// <summary> |
| | 11 | | /// An AgendaItem. |
| | 12 | | /// |
| | 13 | | /// There are |
| | 14 | | /// </summary> |
| | 15 | | public class CreateAgendaItemDto : SimulationRequest, IAgendaItem |
| | 16 | | { |
| | 17 | |
|
| | 18 | | /// <summary> |
| | 19 | | /// The id of the Agenda Item |
| | 20 | | /// </summary> |
| 0 | 21 | | public int AgendaItemId { get; set; } |
| | 22 | |
|
| | 23 | | /// <summary> |
| | 24 | | /// The display name of the Agenda item |
| | 25 | | /// </summary> |
| | 26 | | [Required] |
| 0 | 27 | | public string Name { get; set; } = "Name"; |
| | 28 | |
|
| | 29 | | /// <summary> |
| | 30 | | /// An aditional text for the agenda item |
| | 31 | | /// </summary> |
| | 32 | | [Required] |
| 0 | 33 | | public string Description { get; set; } = "Beschreibung"; |
| | 34 | |
|
| | 35 | | /// <summary> |
| | 36 | | /// The current State of the Agenda Item |
| | 37 | | /// </summary> |
| 0 | 38 | | public EAgendaItemStatuses Status { get; set; } |
| | 39 | |
|
| | 40 | | /// <summary> |
| | 41 | | /// A Date when this Agenda Item is planned to be set. |
| | 42 | | /// </summary> |
| 0 | 43 | | public DateTime? PlannedDate { get; set; } |
| | 44 | |
|
| | 45 | | /// <summary> |
| | 46 | | /// A time when this agenda Item should be done. |
| | 47 | | /// </summary> |
| 0 | 48 | | public DateTime? DueDate { get; set; } |
| | 49 | |
|
| | 50 | | /// <summary> |
| | 51 | | /// A datetime when the agenda item was finished. |
| | 52 | | /// </summary> |
| 0 | 53 | | public DateTime? DoneDate { get; set; } |
| | 54 | |
|
| | 55 | | /// <summary> |
| | 56 | | /// A slot when this Agenda Item should be handled. |
| | 57 | | /// </summary> |
| 0 | 58 | | public int OrderIndex { get; set; } |
| | 59 | |
|
| | 60 | | /// <summary> |
| | 61 | | /// A list of petitions that are pointin at this agenda Item. |
| | 62 | | /// </summary> |
| 0 | 63 | | public List<IPetition> Petitions { get; set; } |
| | 64 | | } |
| | 65 | | } |