diff --git a/entrypoint.go b/entrypoint.go index dec131c..7429ffa 100644 --- a/entrypoint.go +++ b/entrypoint.go @@ -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 ) diff --git a/models/models.go b/models/models.go index 01b648a..2131f35 100644 --- a/models/models.go +++ b/models/models.go @@ -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{} }, }