From d1737d92ddf81e5c9e8d945c9afe6f65424029e0 Mon Sep 17 00:00:00 2001 From: Youngjin Jo Date: Tue, 7 Nov 2023 15:34:38 +0900 Subject: [PATCH] feat: add `bank_name` field in CostReport --- src/spaceone/cost_analysis/model/cost_report/database.py | 1 + src/spaceone/cost_analysis/model/cost_report/response.py | 1 + 2 files changed, 2 insertions(+) diff --git a/src/spaceone/cost_analysis/model/cost_report/database.py b/src/spaceone/cost_analysis/model/cost_report/database.py index 26a8d79d..7c531d71 100644 --- a/src/spaceone/cost_analysis/model/cost_report/database.py +++ b/src/spaceone/cost_analysis/model/cost_report/database.py @@ -13,6 +13,7 @@ class CostReport(MongoModel): report_year = StringField(max_length=10) report_month = StringField(max_length=10) workspace_name = StringField(max_length=255) + bank_name = StringField(max_length=255) cost_report_config_id = StringField(max_length=40) workspace_id = StringField(max_length=40) domain_id = StringField(max_length=40) diff --git a/src/spaceone/cost_analysis/model/cost_report/response.py b/src/spaceone/cost_analysis/model/cost_report/response.py index 68f57306..cc217184 100644 --- a/src/spaceone/cost_analysis/model/cost_report/response.py +++ b/src/spaceone/cost_analysis/model/cost_report/response.py @@ -15,6 +15,7 @@ class CostReportResponse(BaseModel): report_year: Union[str, None] = None report_month: Union[str, None] = None workspace_name: Union[str, None] = None + bank_name: Union[str, None] = None cost_report_config_id: Union[str, None] = None workspace_id: Union[str, None] = None domain_id: Union[str, None] = None