arnaucube
arnaucube/cellMapVisualizerPublic Self-hosted repository
cellMapVisualizer/mongoModels.go
mongoModels.goRaw
 1package main
 2
 3type LocationModel struct {
 4	Type        string    `json:"type"`
 5	Coordinates []float64 `json:"coordinates"`
 6}
 7type CellModel struct {
 8	Radio         string        `json:"radio"`
 9	MCC           string        `json:"mcc"`
10	Net           int           `json:"net"`
11	Area          int           `json:"area"`
12	Cell          int           `json:"cell"`
13	Unit          int           `json:"unit"`
14	Lat           float64       `json:"lat"`
15	Lon           float64       `json:"lon"`
16	Location      LocationModel `json:"location"`
17	Range         float64       `json:"range"`
18	Samples       int           `json:"samples"`
19	Changeable    string        `json:"changeable"`
20	Created       int64         `json:"created"`
21	Updated       int64         `json:"updated"`
22	AverageSignal float64       `json:"averagesignal"`
23}