38 lines
556 B
Go
38 lines
556 B
Go
package models
|
|
|
|
type MatchTicket 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
|
|
}
|
|
|
|
type PrizeRule struct {
|
|
Game string
|
|
MainMatches int
|
|
BonusMatches int
|
|
Tier string
|
|
}
|
|
|
|
type MatchRunStats struct {
|
|
TicketsMatched int
|
|
WinnersFound int
|
|
}
|