Documentation ¶
Index ¶
Constants ¶
View Source
const TicketCheckedStatus = 1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LotteryRecord ¶
type LotteryRecord struct { xdb.Entity Number string `json:"number"` Period string `json:"period"` Type string `json:"type"` xdb.CUDTime }
func (LotteryRecord) TableName ¶
func (e LotteryRecord) TableName() string
type LotteryTicket ¶
type LotteryTicket struct { xdb.Entity UserID int64 `json:"user_id"` Number string `json:"number"` TicketType string `json:"ticket_type"` Period string `json:"period"` Level int `json:"level"` Price int `json:"price"` Status int `json:"status"` xdb.CUDTime }
func (LotteryTicket) IsChecked ¶
func (t LotteryTicket) IsChecked() bool
func (LotteryTicket) TableName ¶
func (t LotteryTicket) TableName() string
Click to show internal directories.
Click to hide internal directories.