namespace PlotLine.Models; public sealed record GeographicRoot(string CountryCode, string? SubdivisionCode = null); public sealed record GeographicQuery(string Name, string CountryCode, string? SubdivisionCode, string[] Ancestors); public sealed record GeographicCandidate(string Provider, string PlaceID, string Name, double Latitude, double Longitude, string CountryCode, string[] AdministrativeNames, string Attribution, bool UniqueWithinContext = false); public sealed class LocationGeography { public int LocationID { get; set; } public long Generation { get; set; } public string Status { get; set; } = "Pending"; public string? CandidatesJson { get; set; } public string? MatchJson { get; set; } public bool Confirmed { get; set; } public bool IsExcluded { get; set; } public string? Message { get; set; } } public sealed class GeographicJob { public int LocationID { get; set; } public Guid Lease { get; set; } public long Generation { get; set; } public int Attempts { get; set; } }