mirror of
https://github.com/azaion/satellite-provider.git
synced 2026-04-23 00:26:38 +00:00
geo fences - wip
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user