Integrate NetTopologySuite and create CoordinateData mapping (#250)

This commit is contained in:
2026-08-26 01:10:09 -04:00
committed by GitHub
parent ad1c09f139
commit 4ca35de7ef
13 changed files with 98 additions and 38 deletions

View File

@@ -1,5 +1,8 @@
namespace Domain.Entities;
public sealed record CoordinateData(double Latitude, double Longitude);
public sealed class BreweryPostLocation
{
// PK
@@ -13,7 +16,7 @@ public sealed class BreweryPostLocation
public string AddressLine1 { get; set; } = string.Empty;
public string? AddressLine2 { get; set; }
public string PostalCode { get; set; } = string.Empty;
public byte[]? Coordinates { get; set; }
public CoordinateData? Coordinates { get; set; }
// Audit Fields
public byte[]? RowVersion { get; set; }