Lots of changes around viewing tickets from css perspective logic changes nwe handlers and service triggers... just lots of stuff...
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package models
|
||||
|
||||
type Ticket struct {
|
||||
type MatchTicket struct {
|
||||
ID int
|
||||
GameType string
|
||||
DrawDate string
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package models
|
||||
|
||||
type MyTicket struct {
|
||||
type Ticket struct {
|
||||
Id int
|
||||
GameType string
|
||||
DrawDate string
|
||||
@@ -16,4 +16,12 @@ type MyTicket struct {
|
||||
PurchaseDate string
|
||||
ImagePath string
|
||||
Duplicate bool
|
||||
MatchedMain int
|
||||
MatchedBonus int
|
||||
PrizeTier string
|
||||
IsWinner bool
|
||||
|
||||
// Used only for display these are not stored in the DB, they mirror MatchTicket structure but are populated on read.
|
||||
Balls []int
|
||||
BonusBalls []int
|
||||
}
|
||||
Reference in New Issue
Block a user