add amount field to privileges - fix missing
This commit is contained in:
parent
30075d4043
commit
123be7da57
@ -15,6 +15,7 @@ type Privilege struct {
|
|||||||
Type string `bson:"type" json:"type"`
|
Type string `bson:"type" json:"type"`
|
||||||
Value string `bson:"value" json:"value"`
|
Value string `bson:"value" json:"value"`
|
||||||
Price float64 `bson:"price" json:"price"`
|
Price float64 `bson:"price" json:"price"`
|
||||||
|
Amount float64 `bson:"amount" json:"amount"`
|
||||||
CreatedAt time.Time `bson:"createdAt" json:"createdAt"`
|
CreatedAt time.Time `bson:"createdAt" json:"createdAt"`
|
||||||
UpdatedAt time.Time `bson:"updatedAt" json:"updatedAt"`
|
UpdatedAt time.Time `bson:"updatedAt" json:"updatedAt"`
|
||||||
IsDeleted bool `bson:"isDeleted" json:"isDeleted"`
|
IsDeleted bool `bson:"isDeleted" json:"isDeleted"`
|
||||||
|
Loading…
Reference in New Issue
Block a user