12 lines
283 B
Go
12 lines
283 B
Go
package models
|
|
|
|
import "time"
|
|
|
|
type PlayerCache struct {
|
|
CacheID uint `json:"cache_id" gorm:"primary_key"`
|
|
PlayerID uint `json:"player_id"`
|
|
CacheDate time.Time `json:"date"`
|
|
Score float32 `json:"score" gorm:"default:-1.0"`
|
|
Game string `json:"game"`
|
|
}
|