< Summary

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

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_PetitionTypeId()100%10%
get_Name()100%10%
get_Description()100%10%
get_Reference()100%10%
get_Ruling()100%10%
get_Category()100%10%

File(s)

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

#LineLine coverage
 1using MUNity.Base;
 2using System;
 3using System.Collections.Generic;
 4using System.Text;
 5
 6namespace MUNity.Schema.Simulation
 7{
 8    /// <summary>
 9    ///  A Type of Petition that can be made.
 10    ///  Petition Types can be reused across simulation and conferences.
 11    ///  You should stack them and give the to the user as presets.
 12    ///
 13    /// Every Petition should have a petition type in the next implementations.
 14    /// </summary>
 15    public class PetitionTypeDto
 16    {
 17        /// <summary>
 18        /// The identifier of the Petition type.
 19        /// </summary>
 020        public int PetitionTypeId { get; set; }
 21
 22        /// <summary>
 23        /// A Name to Display this petition. For example: Right of information.
 24        /// </summary>
 025        public string Name { get; set; }
 26
 27        /// <summary>
 28        /// More information to give about this petition type
 29        /// </summary>
 030        public string Description { get; set; }
 31
 32        /// <summary>
 33        /// A Reference to where you get more information about this petition. This could be a link or
 34        /// a name of the paragraph insiide the rules of procedure.
 35        /// </summary>
 036        public string Reference { get; set; }
 37
 38        /// <summary>
 39        /// How do you get to vote on this Petitiontype
 40        /// </summary>
 041        public PetitionRulings Ruling { get; set; }
 42
 43        /// <summary>
 44        /// A category for the petitiontype
 45        /// </summary>
 046        public string Category { get; set; }
 47    }
 48}