namespace Valg.EVA.Skanning.ServicesModel.ServiceContracts.Verification.Write
{
    public class WriteInIsVerifiedVerification : IWriteInVerification
    {
        private readonly string affiliationId;
        private readonly string candidateName;
        private readonly string affiliationShortCode;
        private readonly int rankInAffiliation;

        public WriteInIsVerifiedVerification(string affiliationId, string candidateName, string affiliationShortCode, int rankInAffiliation, int ballotPaperFieldId)
        {
            this.affiliationId = affiliationId;
            this.candidateName = candidateName;
            this.affiliationShortCode = affiliationShortCode;
            this.rankInAffiliation = rankInAffiliation;
            BallotPaperFieldId = ballotPaperFieldId;
        }

        public int BallotPaperFieldId { get; private set; }
        public string AffiliationId
        {
            get { return affiliationId; }
        }
        
        public string CandidateName
        {
            get { return candidateName; }
        }
        public string AffiliationShortCode
        {
            get { return affiliationShortCode; }
        }
        public int RankInAffiliation
        {
            get { return rankInAffiliation; }
        }
    }
}
