geo fences - wip

This commit is contained in:
Anton Martynenko
2025-11-19 17:26:23 +01:00
parent 5974b0c589
commit d122497b50
22 changed files with 766 additions and 114 deletions
@@ -0,0 +1,19 @@
using System.Text.Json.Serialization;
namespace SatelliteProvider.Common.DTO;
public class GeofencePolygon
{
[JsonPropertyName("northWest")]
public GeoPoint? NorthWest { get; set; }
[JsonPropertyName("southEast")]
public GeoPoint? SouthEast { get; set; }
}
public class Geofences
{
[JsonPropertyName("polygons")]
public List<GeofencePolygon> Polygons { get; set; } = new();
}