mirror of
https://github.com/azaion/satellite-provider.git
synced 2026-04-22 22:36:39 +00:00
20 lines
409 B
C#
20 lines
409 B
C#
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();
|
|
}
|
|
|