#nullable enable
using Baya.Application.Models.Common;
using Mediator;

namespace Baya.Application.Features.PartnerCenters.Commands.SponsorNurse;

/// <summary>Links (or, when <see cref="Unlink"/>, unlinks) a nurse to a sponsoring center by setting
/// <c>nurse_profiles.partner_center_id</c>. <see cref="CenterId"/> is route-supplied. Staff, or the center's own
/// dashboard account, may sponsor within that center.</summary>
public record SponsorNurseCommand(long NurseProfileId, bool Unlink = false, long CenterId = 0)
    : IRequest<OperationResult<bool>>;
