add duty-time and poi (จาก google maps ไปก่อน)
This commit is contained in:
parent
43932f742b
commit
78f8c0813c
30 changed files with 3395 additions and 4 deletions
28
BMA.EHR.Leave.Service/DTOs/POI/GetPOIResultDto.cs
Normal file
28
BMA.EHR.Leave.Service/DTOs/POI/GetPOIResultDto.cs
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
namespace BMA.EHR.Command.Service.DTOs.POI
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue