namespace Baya.Application.Models.Search;

/// <summary>
/// One family-facing search hit — a bookable variant matched in a covered area. <c>Price</c> is IRR Rials
/// as a digit string (BIGINT on the wire, never a float); <c>DistrictId</c> == null means the nurse covers
/// the whole city. <c>NurseName</c>/<c>AvatarUrl</c> are the card's identity (denormalized on the index);
/// <c>DistanceKm</c> is optional — null until the index carries the searched coordinate.
/// </summary>
public record NurseSearchResultDto(
    long VariantId,
    long NurseId,
    long ServiceCategoryId,
    string Price,
    string PriceUnit,
    string NurseGender,
    decimal AverageRating,
    int TotalReviews,
    int TotalCompletedBookings,
    long CityId,
    long? DistrictId,
    string NurseName,
    string AvatarUrl,
    double? DistanceKm);
