using Baya.Application.Models.Common;
using Baya.Application.Models.Identity;
using Mediator;

namespace Baya.Application.Features.Identity.Commands.AddNurseBankAccount;

/// <summary>
/// Adds a payout account for the signed-in nurse. The IBAN and account-holder name are encrypted at rest;
/// a deterministic <c>iban_hash</c> guards against duplicates and the استعلام شبا ownership inquiry runs
/// immediately. If the nurse has no other account this one becomes primary.
/// </summary>
public record AddNurseBankAccountCommand(
    string BankName,
    string AccountHolderName,
    string Iban) : IRequest<OperationResult<NurseBankAccountDto>>;
