20 lines
263 B
Go
20 lines
263 B
Go
package db
|
|
|
|
import "time"
|
|
|
|
type FoundryDataType string
|
|
|
|
const (
|
|
SetupType = FoundryDataType("setup")
|
|
GameType = FoundryDataType("game")
|
|
)
|
|
|
|
type FoundryData struct {
|
|
ID uint
|
|
|
|
Type FoundryDataType
|
|
Setup *Setup
|
|
Game *Game
|
|
CreatedAt time.Time
|
|
}
|