2023-11-15 15:38:39 +07:00
|
|
|
|
namespace BMA.EHR.Leave.Service.DTOs.POI
|
2023-11-09 14:35:08 +07:00
|
|
|
|
{
|
|
|
|
|
|
public class GetPOIResultDto
|
|
|
|
|
|
{
|
|
|
|
|
|
public List<POIItem> results { get; set; } = new List<POIItem>();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public class POIItem
|
|
|
|
|
|
{
|
|
|
|
|
|
public string place_id { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
|
|
public string name { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
|
|
public GeometryItem geometry { get; set; } = new();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public class GeometryItem
|
|
|
|
|
|
{
|
|
|
|
|
|
public LocationItem location { get; set; } = new();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public class LocationItem
|
|
|
|
|
|
{
|
|
|
|
|
|
public double lat { get; set; } = 0;
|
|
|
|
|
|
|
|
|
|
|
|
public double lng { get; set; } = 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|