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.
34 lines
598 B
Go
34 lines
598 B
Go
11 months ago
|
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
|
||
|
PromoteId int
|
||
|
PromoteAccount string
|
||
|
PayTime *time.Time
|
||
|
CreatedAt time.Time
|
||
|
UpdatedAt time.Time
|
||
|
}
|
||
|
|
||
|
func (Order) TableName() string {
|
||
|
return "outer_orders"
|
||
|
}
|