2024-11-06 15:15:45 +08:00
|
|
|
|
// =================================================================================
|
|
|
|
|
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
|
|
|
|
// =================================================================================
|
|
|
|
|
|
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-06 15:15:45 +08:00
|
|
|
|
OrderId string `json:"orderId" orm:"order_id" ` // 订单ID,主键
|
|
|
|
|
Price float64 `json:"price" orm:"price" ` // 订单原价
|
|
|
|
|
Amount float64 `json:"amount" orm:"amount" ` // 支付价格
|
|
|
|
|
Bean float64 `json:"bean" orm:"bean" ` // 金豆抵扣价格
|
|
|
|
|
OpenId string `json:"openId" orm:"open_id" ` // 支付用户微信openId
|
|
|
|
|
Mobile string `json:"mobile" orm:"mobile" ` // 支付用户手机号
|
|
|
|
|
ShopId string `json:"shopId" orm:"shop_id" ` // 商户ID
|
|
|
|
|
Created *gtime.Time `json:"created" orm:"created" ` // 创建时间
|
|
|
|
|
Updated *gtime.Time `json:"updated" orm:"updated" ` // 更新时间
|
|
|
|
|
YsepayStatus string `json:"ysepayStatus" orm:"ysepay_status" ` // 银盛交易状态
|
2024-11-07 18:07:35 +08:00
|
|
|
|
Channel int `json:"channel" orm:"channel" ` // 支付渠道 1.微信 2.支付宝
|
2024-11-05 08:32:10 +08:00
|
|
|
|
}
|