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

namespace Baya.Application.Features.Addresses.Queries.ListMyAddresses;

/// <summary>The signed-in customer's own addresses, primary first (tenancy-scoped, paginated). The PII is
/// decrypted for the owner.</summary>
public record ListMyAddressesQuery(int Page = 1, int PageSize = 50)
    : IRequest<OperationResult<PagedResult<CustomerAddressDto>>>;
