mirror of
https://gitee.com/blackfox/geekai.git
synced 2024-12-06 06:07:41 +08:00
24 lines
368 B
Go
24 lines
368 B
Go
package model
|
|
|
|
import (
|
|
"chatplus/core/types"
|
|
"gorm.io/gorm"
|
|
)
|
|
|
|
// Order 充值订单
|
|
type Order struct {
|
|
BaseModel
|
|
UserId uint
|
|
ProductId uint
|
|
Username string
|
|
OrderNo string
|
|
TradeNo string
|
|
Subject string
|
|
Amount float64
|
|
Status types.OrderStatus
|
|
Remark string
|
|
PayTime int64
|
|
PayWay string // 支付方式
|
|
DeletedAt gorm.DeletedAt
|
|
}
|