Future proofing for games.

This commit is contained in:
2025-03-24 22:24:41 +00:00
parent 7303ef7224
commit 4844c34eb1
2 changed files with 19 additions and 17 deletions

View File

@@ -1,14 +1,14 @@
package models package models
type Draw struct { type ThunderballResult struct {
ID int Id int
Date string DrawDate string
Machine string Machine string
Ballset string Ballset string
Ball1 string Ball1 int
Ball2 string Ball2 int
Ball3 string Ball3 int
Ball4 string Ball4 int
Ball5 string Ball5 int
Thunderball string Thunderball int
} }

View File

@@ -1,12 +1,14 @@
package models package models
type MyTicket struct { type MyTicket struct {
ID int Id int
GameType string
DrawDate string DrawDate string
Ball1 string Ball1 int
Ball2 string Ball2 int
Ball3 string Ball3 int
Ball4 string Ball4 int
Ball5 string Ball5 int
Thunderball string Bonus1 *int // Optional (nil if not used)
Bonus2 *int // For games like EuroMillions
} }