access to live storage

This commit is contained in:
mr 2025-06-24 11:58:52 +02:00
parent 3fdf5c3ebf
commit 147c7bc3a1
2 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,7 @@ const (
BOOKING = tools.BOOKING
ORDER = tools.ORDER
LIVE_DATACENTER = tools.LIVE_DATACENTER
LIVE_STORAGE = tools.LIVE_STORAGE
PURCHASE_RESOURCE = tools.PURCHASE_RESOURCE
)

View File

@ -41,6 +41,7 @@ var ModelsCatalog = map[string]func() utils.DBObject{
tools.ORDER.String(): func() utils.DBObject { return &order.Order{} },
tools.PURCHASE_RESOURCE.String(): func() utils.DBObject { return &purchase_resource.PurchaseResource{} },
tools.LIVE_DATACENTER.String(): func() utils.DBObject { return &live.LiveDatacenter{} },
tools.LIVE_STORAGE.String(): func() utils.DBObject { return &live.LiveStorage{} },
tools.BILL.String(): func() utils.DBObject { return &bill.Bill{} },
}