-
Notifications
You must be signed in to change notification settings - Fork 12
/
location.go
36 lines (33 loc) · 916 Bytes
/
location.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package entity
import (
"time"
)
type LocationEntity struct {
Id string
Name string
CreatedAt time.Time
UpdatedAt time.Time
Country string `neo4jDb:"property:country;lookupName:COUNTRY;supportCaseSensitive:true"`
Region string `neo4jDb:"property:region;lookupName:REGION;supportCaseSensitive:true"`
Locality string `neo4jDb:"property:locality;lookupName:LOCALITY;supportCaseSensitive:true"`
Address string
Address2 string
Zip string
AddressType string
HouseNumber string
PostalCode string
PlusFour string
Commercial bool
Predirection string
District string
Street string
RawAddress string
Latitude *float64
Longitude *float64
TimeZone string
UtcOffset int64
SourceOfTruth DataSource
Source DataSource
AppSource string
}
type LocationEntities []LocationEntity