namespace Domain.Entities; public sealed record CoordinateData(double Latitude, double Longitude); /// The distance, as computed by the database, from a query's origin point to a brewery. public sealed record DistanceInformation(CoordinateData From, double DistanceMetres); public sealed class BreweryPostLocation { // PK public Guid BreweryPostLocationId { get; set; } // FK References public Guid BreweryPostId { get; set; } public Guid CityId { get; set; } // Attributes public string AddressLine1 { get; set; } = string.Empty; public string? AddressLine2 { get; set; } public string PostalCode { get; set; } = string.Empty; public CoordinateData? Coordinates { get; set; } // Audit Fields public byte[]? RowVersion { get; set; } // Navigation Properties public City? City { get; set; } }