using System;
using System.ComponentModel.DataAnnotations;
using MediatR;
using SFA.DAS.Authorization.ModelBinding;

namespace SFA.DAS.EmployerAccounts.Commands.SendTransferConnectionInvitation
{
    public class SendTransferConnectionInvitationCommand : IAuthorizationContextModel, IAsyncRequest<long>
    {
        [Required]
        public long AccountId { get; set; }

        [Required]
        public Guid UserRef { get; set; }

        [Required]
        [RegularExpression(Constants.AccountHashedIdRegex)]
        public string ReceiverAccountPublicHashedId { get; set; }
    }
}