diff --git a/models/match.go b/models/match.go new file mode 100644 index 0000000..672a1fc --- /dev/null +++ b/models/match.go @@ -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 +}