Files
InfantrySkillCalculator/models/cache.go
2024-01-17 18:38:35 +01:00

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"`
}