namespace Valg.EVA.Skanning.ServicesModel.ServiceContracts.Verification.Read
{
    public class CandidatePersonVoteReadOnly
    {
        public CandidatePersonVoteReadOnly(int candidateIndex, bool neededVerification, bool needsVerification, bool? personVotedAsGivenByCorrection, bool? personVotedAsInterpretedByScanner, int underlyingFieldId, bool isCreatedFirstTimeByVerifier)
        {
            CandidateIndex = candidateIndex;
            NeededVerification = neededVerification;
            NeedsVerification = needsVerification;
            PersonVotedAsGivenByCorrection = personVotedAsGivenByCorrection;
            PersonVotedAsInterpretedByScanner = personVotedAsInterpretedByScanner;
            UnderlyingFieldId = underlyingFieldId;
            IsCreatedFirstTimeByVerifier = isCreatedFirstTimeByVerifier;
        }

        public int CandidateIndex { get; private set; }
        public bool? PersonVotedAsInterpretedByScanner { get; private set; }
        public bool? PersonVotedAsGivenByCorrection { get; private set; }
        public bool NeedsVerification { get; private set; }
        public bool NeededVerification { get; private set; }
        public int UnderlyingFieldId { get; private set; }
        public bool IsCreatedFirstTimeByVerifier { get; private set; }
    }
}
