< Summary

Class:MUNity.Schema.Simulation.CreateAgendaItemDto
Assembly:MUNity.Schema
File(s):C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNitySchema\Schema\Simulation\Petition\CreateAgendaItemDto.cs
Covered lines:0
Uncovered lines:9
Coverable lines:9
Total lines:65
Line coverage:0% (0 of 9)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:9
Method coverage:0% (0 of 9)

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_AgendaItemId()100%10%
get_Name()100%10%
get_Description()100%10%
get_Status()100%10%
get_PlannedDate()100%10%
get_DueDate()100%10%
get_DoneDate()100%10%
get_OrderIndex()100%10%
get_Petitions()100%10%

File(s)

C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNitySchema\Schema\Simulation\Petition\CreateAgendaItemDto.cs

#LineLine coverage
 1using MUNity.Base;
 2using MUNity.Models.Simulation;
 3using System;
 4using System.Collections.Generic;
 5using System.ComponentModel.DataAnnotations;
 6using System.Text;
 7
 8namespace 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>
 021        public int AgendaItemId { get; set; }
 22
 23        /// <summary>
 24        /// The display name of the Agenda item
 25        /// </summary>
 26        [Required]
 027        public string Name { get; set; } = "Name";
 28
 29        /// <summary>
 30        /// An aditional text for the agenda item
 31        /// </summary>
 32        [Required]
 033        public string Description { get; set; } = "Beschreibung";
 34
 35        /// <summary>
 36        /// The current State of the Agenda Item
 37        /// </summary>
 038        public EAgendaItemStatuses Status { get; set; }
 39
 40        /// <summary>
 41        /// A Date when this Agenda Item is planned to be set.
 42        /// </summary>
 043        public DateTime? PlannedDate { get; set; }
 44
 45        /// <summary>
 46        /// A time when this agenda Item should be done.
 47        /// </summary>
 048        public DateTime? DueDate { get; set; }
 49
 50        /// <summary>
 51        /// A datetime when the agenda item was finished.
 52        /// </summary>
 053        public DateTime? DoneDate { get; set; }
 54
 55        /// <summary>
 56        /// A slot when this Agenda Item should be handled.
 57        /// </summary>
 058        public int OrderIndex { get; set; }
 59
 60        /// <summary>
 61        /// A list of petitions that are pointin at this agenda Item.
 62        /// </summary>
 063        public List<IPetition> Petitions { get; set; }
 64    }
 65}