config pb

This commit is contained in:
mr
2024-07-22 09:03:57 +02:00
parent 070f2d063e
commit 53811538c0
5 changed files with 42 additions and 52 deletions

View File

@@ -9,8 +9,7 @@ import (
type DatacenterResource struct {
resources.AbstractResource
Owner string `bson:"owner" json:"owner" required:"true"`
BookingPrice int `bson:"booking_price" json:"booking_price" required:"true"`
BookingPrice int `bson:"booking_price" json:"booking_price"`
CPU DatacenterCpuModel `bson:"cpu,omitempty" json:"cpu,omitempty"`
RAM DatacenterMemoryModel `bson:"ram,omitempty" json:"ram,omitempty"`