using Valg.EVA.Skanning.Contracts.CommonEnums;
using ReactiveUI;

namespace Valg.EVA.Skanning.JobManagement.Startup.Data.Transfer
{
    public class TransferDetailsModel : ReactiveObject
    {
        private int id;
        private int countingId;
        private int rejectedVotes;
        private int verifiedVotes;
        private int totalVotes;
        private string errorCode;
        private TransferState state;

        public int Id
        {
            get { return id; }
            set { this.RaiseAndSetIfChanged(ref id, value); }
        }
        public int CountingId
        {
            get { return countingId; }
            set { this.RaiseAndSetIfChanged(ref countingId, value); }
        }
        public TransferState State
        {
            get { return state; }
            set { this.RaiseAndSetIfChanged(ref state, value); }
        }
        public string ErrorCode
        {
            get { return errorCode; }
            set { this.RaiseAndSetIfChanged(ref errorCode, value); }
        }
        public int TotalVotes
        {
            get { return totalVotes; }
            set { this.RaiseAndSetIfChanged(ref totalVotes, value); }
        }
        public int VerifiedVotes
        {
            get { return verifiedVotes; }
            set { this.RaiseAndSetIfChanged(ref verifiedVotes, value); }
        }
        public int RejectedVotes
        {
            get { return rejectedVotes; }
            set { this.RaiseAndSetIfChanged(ref rejectedVotes, value); }
        }
    }
}
