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 int64 `json:"signal"` Building string `json:"building"` }