Nie możesz wybrać więcej, niż 25 tematów
Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
|
- package model
-
- import "time"
-
- type Tracks struct {
- ID uint `gorm:"unique;primaryKey;autoIncrement"`
- UUID string `json:"id" gorm:"foreignKey"`
- Timestamp time.Time `json:"timestamp"`
- Type string `json:"type"`
- Status string `json:"status"`
- Gateway string `json:"gateway" gorm:"index"`
- GatewayMac string `json:"gatewayMac"`
- Tracker string `json:"tracker" gorm:"index"`
- TrackerMac string `json:"trackerMac"`
- Subject string `json:"subject"`
- SubjectName string `json:"subjectName"`
- Floor string `json:"floor"`
- Signal int `json:"signal"`
- Building string `json:"building"`
- }
|