18 lines
343 B
Go
18 lines
343 B
Go
package res
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
type TowerResponse struct {
|
|
ID uuid.UUID `json:"id"`
|
|
DeviceCode string `json:"device_code"`
|
|
TowerCode string `json:"tower_code"`
|
|
Longitude float64 `json:"longtitude"`
|
|
Latitude float64 `json:"latitude"`
|
|
Address string `json:"address"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
}
|