23 lines
958 B
Go
Executable File
23 lines
958 B
Go
Executable File
package nakedchatordermod
|
|
|
|
import (
|
|
"time"
|
|
|
|
"go.mongodb.org/mongo-driver/bson/primitive"
|
|
)
|
|
|
|
// NakedChatOrderInfo 移动端返回内容
|
|
type NakedChatOrderInfo struct {
|
|
ID primitive.ObjectID `json:"id"` // 文档id
|
|
Nid primitive.ObjectID `json:"nid"` // 裸聊id
|
|
Uid uint64 `json:"uid"` // uid
|
|
UserContact string `json:"userContact "` // 用户联系方式
|
|
Num uint64 `json:"num"` // 购买数量
|
|
Price uint64 `json:"price"` // 购买的单价
|
|
Amount int64 `json:"amount"` // 总额
|
|
Remark string `json:"remark"` // 订单备注信息
|
|
Status int `json:"status"` // 0-已下单 1-已完成
|
|
CreatedAt time.Time `json:"createdAt"` // 文档创建时间
|
|
UpdatedAt time.Time `json:"updatedAt"` // 文档更新时间
|
|
}
|