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

namespace Baya.Application.Features.Refunds.Commands.WriteOffClawback;

/// <summary>Admin marks a <c>pending</c> nurse clawback uncollectable, posting the balancing
/// <c>DEBIT bad_debt / CREDIT nurse_clawback_receivable</c> correction. Recovery via payout netting is b13.</summary>
public record WriteOffClawbackCommand(long ClawbackId, string Reason) : IRequest<OperationResult<bool>>;
