using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Valg.EVA.Skanning.Contracts.CommonEnums;

namespace Valg.EVA.Skanning.ServicesModel.Internal.SystemSettings
{
    
    
    
    
    public class BallotPaperLayoutDescription
    {
        public static readonly BallotPaperLayoutDescription Empty = new BallotPaperLayoutDescription
        {
            BallotPaperType = BallotPaperType.Unknown,
            ContentAreaDescriptions = new BallotPaperContentAreaDescription[]{ },
            CandidateSections = new CandidateSection[] {}
        };

        public BallotPaperContentAreaDescription[] ContentAreaDescriptions { get; set; }

        [JsonConverter(typeof(StringEnumConverter))]
        public BallotPaperType BallotPaperType { get; set; }
        public double TotalWidthInCm { get; set; }
        public double TotalHeightInCm { get; set; }

        public CandidateSection[] CandidateSections { get; set; }
    }
}
