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" }