This commit is contained in:
stSolo
2022-12-22 17:56:47 +03:00
parent 8712561853
commit d4b1ab7133
672 changed files with 28509 additions and 4419 deletions

View File

@@ -1,14 +1,31 @@
package locations
type Location struct {
GID uint64 `json:"gid"`
ID uint64 `json:"id"`
GUID uint64 `json:"guid"`
LocationCode string `json:"locationCode"`
Name string `json:"name"`
Flag string `json:"flag"`
Meta []interface{} `json:"_meta"`
CKey string `json:"_ckey"`
// Main information about locations
type ItemLocation struct {
// Grid ID
GID uint64 `json:"gid"`
// ID
ID uint64 `json:"id"`
// GUID
GUID uint64 `json:"guid"`
// Location code
LocationCode string `json:"locationCode"`
// Name
Name string `json:"name"`
// Flag
Flag string `json:"flag"`
// Meta
Meta []interface{} `json:"_meta"`
// CKey
CKey string `json:"_ckey"`
}
type LocationsList []Location
// List of locations
type ListLocations []ItemLocation