structs for matching results to tickets.

This commit is contained in:
2025-03-27 10:45:29 +00:00
parent 204cfb1539
commit 27b862b84b

25
models/match.go Normal file
View File

@@ -0,0 +1,25 @@
package models
type Ticket struct {
ID int
GameType string
DrawDate string
Balls []int
BonusBalls []int
}
type DrawResult struct {
DrawID int
GameType string
DrawDate string
Balls []int
BonusBalls []int
}
type MatchResult struct {
MatchedMain int
MatchedBonus int
PrizeTier string
IsWinner bool
MatchedDrawID int
}