git-subtree-dir: server git-subtree-mainline:c4e617ada7git-subtree-split:e64421295f
18 lines
681 B
Go
18 lines
681 B
Go
package entity
|
|
|
|
import "github.com/gogf/gf/v2/os/gtime"
|
|
|
|
type PaymentOrder struct {
|
|
Id int64 `orm:"id" json:"id"`
|
|
OrderNo string `orm:"order_no" json:"order_no"`
|
|
UserId int64 `orm:"user_id" json:"user_id"`
|
|
PlanId int64 `orm:"plan_id" json:"plan_id"`
|
|
AmountFen int `orm:"amount_fen" json:"amount_fen"`
|
|
Channel string `orm:"channel" json:"channel"`
|
|
Status string `orm:"status" json:"status"`
|
|
TradeNo string `orm:"trade_no" json:"trade_no"`
|
|
NotifyRaw string `orm:"notify_raw" json:"-"`
|
|
PaidAt *gtime.Time `orm:"paid_at" json:"paid_at"`
|
|
CreatedAt *gtime.Time `orm:"created_at" json:"created_at"`
|
|
}
|