using System;

namespace Valg.EVA.Skanning.Commands.SetTransferFailed
{
    public class SetTransferFailedCommand
    {
        public SetTransferFailedCommand(int transferId, string errorCode, string updatedBy, DateTime? optionalConcurrencyToken = null)
        {
            TransferId = transferId;
            ErrorCode = errorCode;
            OptionalConcurrencyToken = optionalConcurrencyToken;
            UpdatedBy = updatedBy;
        }

        public DateTime? OptionalConcurrencyToken { get; }
        public int TransferId { get; }
        public string ErrorCode { get; }
        public string UpdatedBy { get;  }
    }
}
