You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
621 B
Go
35 lines
621 B
Go
package model
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type Order struct {
|
|
ID uint
|
|
OrderNo string
|
|
UserId int
|
|
UserAccount string
|
|
RoleName string
|
|
RoleId string
|
|
GameId int
|
|
GameName string
|
|
ServerId string
|
|
ServerName string
|
|
PayAmount float64
|
|
PayStatus int8
|
|
PayUrl string
|
|
NotifyUrl string
|
|
ReturnUrl string
|
|
Subject string
|
|
Token string
|
|
PromoteId int
|
|
PromoteAccount string
|
|
PayTime *time.Time
|
|
CreatedAt time.Time
|
|
UpdatedAt time.Time
|
|
}
|
|
|
|
func (Order) TableName() string {
|
|
return "outer_orders"
|
|
}
|