初始化v1
This commit is contained in:
25
internal/model/entity/payment_order.go
Normal file
25
internal/model/entity/payment_order.go
Normal file
@@ -0,0 +1,25 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// PaymentOrder is the golang structure for table nl_payment_order.
|
||||
type PaymentOrder struct {
|
||||
Id uint `json:"id" orm:"id" description:"订单ID"`
|
||||
OrderNo string `json:"order_no" orm:"order_no" description:"订单号"`
|
||||
UserId int `json:"user_id" orm:"user_id" description:"用户ID"`
|
||||
VipLevelId int `json:"vip_level_id" orm:"vip_level_id" description:"VIP等级ID"`
|
||||
Amount float64 `json:"amount" orm:"amount" description:"订单金额"`
|
||||
PaymentMethod string `json:"payment_method" orm:"payment_method" description:"支付方式"`
|
||||
PaymentStatus int `json:"payment_status" orm:"payment_status" description:"支付状态:0待支付,1已支付,2已取消,3已退款"`
|
||||
PaymentTime *gtime.Time `json:"payment_time" orm:"payment_time" description:"支付时间"`
|
||||
ExpireTime *gtime.Time `json:"expire_time" orm:"expire_time" description:"过期时间"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
CreatedAt *gtime.Time `json:"created_at" orm:"created_at" description:"创建时间"`
|
||||
UpdatedAt *gtime.Time `json:"updated_at" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
Reference in New Issue
Block a user