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

namespace Valg.EVA.Skanning.ServicesModel.Internal.SystemSettings
{
    
    
    
    
    public class BallotPaperContentAreaDescription
    {
        [JsonConverter(typeof(StringEnumConverter))]
        public BallotPaperContentAreaType ContentAreaType { get; set; }
        public bool IsOnFrontPage { get; set; }
        public int? SectionNumber { get; set; }
        public int? Index { get; set; }
        public double? TopLeftXInPercentRelativeToEntireSize { get; set; }
        public double? TopLeftYInPercentRelativeToEntireSize { get; set; }
        public double? CropRegionHeightInPercentRelativeToEntireSize { get; set; }
        public double? CropRegionWidthInPercentRelativeToEntireSize { get; set; }
        public bool Hidden { get; set; }
    }
}
