19 lines
789 B
Go
19 lines
789 B
Go
package po
|
||
|
||
import (
|
||
"github.com/gogf/gf/v2/os/gtime"
|
||
)
|
||
|
||
// PayOrder is the golang structure for table pay_order.
|
||
type PayOrder struct {
|
||
OrderId string `json:"orderId" orm:"orderId" ` // 订单ID,主键
|
||
Price float64 `json:"price" orm:"price" ` // 订单原价
|
||
Amount float64 `json:"amount" orm:"amount" ` // 支付价格
|
||
Bean float64 `json:"bean" orm:"bean" ` // 金豆抵扣价格
|
||
OpenId string `json:"openId" orm:"openId" ` // 支付用户微信openId
|
||
Mobile string `json:"mobile" orm:"mobile" ` // 支付用户手机号
|
||
ShopId string `json:"shopId" orm:"shopId" ` // 商户ID
|
||
Created *gtime.Time `json:"created" orm:"created" ` // 创建时间
|
||
Updated *gtime.Time `json:"updated" orm:"updated" ` // 更新时间
|
||
}
|