package models import "time" type Record struct { ID uint `gorm:"primaryKey"` DeviceGUID string `gorm:"index;size:64;not null"` StartedAt int64 `gorm:"not null"` StoppedAt int64 `gorm:"not null"` ObjectKey string `gorm:"size:512;not null"` CreatedAt time.Time UpdatedAt time.Time }