Files
stufflog3/internal/models/stat.go
T

22 lines
384 B
Go

package models
type StatEntry struct {
ID int `json:"id"`
Name string `json:"name"`
Weight float64 `json:"weight"`
}
type StatProgressEntry struct {
StatEntry
Acquired int `json:"acquired"`
Required int `json:"required"`
}
type Stat struct {
StatEntry
Description string `json:"description"`
AllowedAmounts map[string]int `json:"allowedAmounts"`
}