forked from ebhomengo/niki
17 lines
358 B
Go
17 lines
358 B
Go
package entity
|
|
|
|
type MapLevel string
|
|
|
|
const (
|
|
MapLevelCity MapLevel = "city"
|
|
MapLevelProvince MapLevel = "province"
|
|
MapLevelCountry MapLevel = "country"
|
|
)
|
|
|
|
type MapSummaryItem struct {
|
|
ID uint `json:"id"` // city_id OR state_id
|
|
Latitude float64 `json:"latitude"`
|
|
Longitude float64 `json:"longitude"`
|
|
Count int `json:"count"`
|
|
}
|