using System;

namespace Valg.EVA.Skanning.Verify.Startup.VerifyBallotPaper.WriteModel
{
    public class PersonVoteModification 
    {
        public PersonVoteModification(int? personVoteFieldId, bool isVoteGiven, int candidateIndex, DateTime timestamp)
        {
            PersonVoteFieldId = personVoteFieldId;
            IsVoteGiven = isVoteGiven;
            CandidateIndex = candidateIndex;
            Timestamp = timestamp;
        }

        public int? PersonVoteFieldId { get; }
        public bool IsVoteGiven { get; }
        public int CandidateIndex { get; }
        public DateTime Timestamp { get; }
    }
}
