yuleduiPay/service/po/pay_order.go

19 lines
789 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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" ` // 更新时间
}