yuleduiPay/service/po/pay_order.go

19 lines
789 B
Go
Raw Normal View History

2024-11-05 08:32:10 +08:00
package po
2024-11-05 09:49:02 +08:00
import (
"github.com/gogf/gf/v2/os/gtime"
)
2024-11-05 08:32:10 +08:00
2024-11-05 09:49:02 +08:00
// PayOrder is the golang structure for table pay_order.
2024-11-05 08:32:10 +08:00
type PayOrder struct {
2024-11-05 09:49:02 +08:00
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" ` // 更新时间
2024-11-05 08:32:10 +08:00
}