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

namespace Baya.Application.Features.Addresses.Commands.SetPrimaryAddress;

/// <summary>Atomically makes one of the customer's own addresses primary and clears the previous one
/// (the single-primary invariant). Tenancy-checked.</summary>
public record SetPrimaryAddressCommand(long Id) : IRequest<OperationResult<bool>>;
