Files
galaxy-game/internal/model/game/science.go
T
2026-01-15 14:42:04 +02:00

24 lines
381 B
Go

package game
import (
"github.com/google/uuid"
)
type Science struct {
ID uuid.UUID `json:"id"`
ScienceReport
}
type ScienceReportForeign struct {
RaceName string
ScienceReport
}
type ScienceReport struct {
Name string `json:"name"`
Drive float64 `json:"drive"`
Weapons float64 `json:"weapons"`
Shields float64 `json:"shields"`
Cargo float64 `json:"cargo"`
}