add amount field to privileges - fix missing
Some checks failed
Lint / Lint (push) Failing after 1m6s
Deploy / DeployService (push) Has been cancelled
Deploy / CreateImage (push) Has been cancelled

This commit is contained in:
skeris 2025-01-24 01:26:29 +03:00
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"`