using System;

namespace Valg.EVA.Skanning.Commands.DeleteBoxCountingAndRegisterForScanAgain
{
    public class DeleteBoxCountingAndReregisterForScanningCommand : ICommand
    {
        public DeleteBoxCountingAndReregisterForScanningCommand(
            string barcodeLong,
            string barcodeShort,
            int countingId,
            bool scanAgainImmediatly,
            DateTime boxCountingConcurrencyToken,
            string countingEmlAreaContextId)
        {
            ScanAgainImmediatly = scanAgainImmediatly;
            BoxCountingConcurrencyToken = boxCountingConcurrencyToken;
            CountingEmlAreaContextId = countingEmlAreaContextId;
            BarcodeLong = barcodeLong;
            BarcodeShort = barcodeShort;
            CountingId = countingId;
        }

        public string BarcodeShort { get; }
        public string BarcodeLong { get; }
        public int CountingId { get; }
        public bool ScanAgainImmediatly { get; }
        public DateTime BoxCountingConcurrencyToken { get; }
        public string CountingEmlAreaContextId { get; }
    }
}
