namespace Valg.EVA.Skanning.ServicesModel.ServiceContracts.Verification.Read
{
    public class WriteInReadOnly
    {
        public WriteInReadOnly(int ballotPaperFieldId, 
            bool neededVerification, bool needsVerification, string scannerValue, 
            bool ignoreWriteIn, string affiliationShortCode, 
            string affiliationId, string candidateName, int rankInAffiliation, int fieldIndex)
        {
            BallotPaperFieldId = ballotPaperFieldId;
            NeededVerification = neededVerification;
            NeedsVerification = needsVerification;
            ScannerValue = scannerValue;
            IgnoreWriteIn = ignoreWriteIn;
            AffiliationShortCode = affiliationShortCode;
            AffiliationId = affiliationId;
            CandidateName = candidateName;
            RankInAffiliation = rankInAffiliation;
            FieldIndex = fieldIndex;
        }

        public int BallotPaperFieldId { get; private set; }

        public bool NeededVerification { get; private set; }

        public bool NeedsVerification { get; private set; }

        public string ScannerValue { get; private set; }

        public bool IgnoreWriteIn { get; private set; }

        public string AffiliationShortCode { get; private set; }

        public string AffiliationId { get; private set; }

        public string CandidateName { get; private set; }

        public int RankInAffiliation { get; private set; }

        public int FieldIndex { get; private set; }
    }
}
