123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- package pay
- import (
- "time"
- "go.mongodb.org/mongo-driver/bson/primitive"
- )
- type Point struct {
- Id primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
-
- Project string `bson:"project,omitempty" json:"project,omitempty"`
- ProductName string `bson:"productName,omitempty" json:"productName,omitempty"`
- ProductKey string `bson:"productKey,omitempty" json:"productKey,omitempty"`
-
-
-
-
-
- PayMethods []*PayMethod `bson:"payMethods,omitempty" json:"payMethods,omitempty"`
-
-
- Price *float64 `bson:"price,omitempty" json:"price,omitempty"`
-
-
-
-
- CreateTime time.Time `bson:"createTime,omitempty" json:"createTime,omitempty"`
- UpdateTime time.Time `bson:"updateTime,omitempty" json:"updateTime,omitempty"`
- }
- type PayMethod struct {
- Key string
- Value *int32
- }
- type PointAmountReq struct {
-
- ProductKey string `bson:"productKey,omitempty" json:"productKey,omitempty"`
-
- Quantity *int32 `bson:"quantity,omitempty" json:"quantity,omitempty"`
-
- Number *int32 `bson:"number,omitempty" json:"number,omitempty"`
- }
|