package models

/*
SELECT

	region,sum(amount) as amount,unit,description,service_name,sum(cost) as cost,sum(cost_at_list) as cost_at_list,
	user_label_tenant_id,user_label_project_id,user_label_cluster_id,user_label_environment_id,user_label_component_id,
	user_label_usedby,user_label_servicetype,user_tag_usedby,usage_start_date,resource_name
*/
type GCPBilling struct {
	Region                 string  `json:"region"`
	Amount                 float64 `json:"amount"`
	Unit                   string  `json:"unit"`
	Description            string  `json:"description"`
	ServiceName            string  `json:"service_name"`
	Cost                   float64 `json:"cost"`
	CostAtList             float64 `json:"cost_at_list"`
	UserLabelTenantID      string  `json:"user_label_tenant_id"`
	UserLabelProjectID     string  `json:"user_label_project_id"`
	UserLabelClusterID     string  `json:"user_label_cluster_id"`
	UserLabelEnvironmentID string  `json:"user_label_environment_id"`
	UserLabelComponentID   string  `json:"user_label_component_id"`
	UserLabelUsedBy        string  `json:"user_label_usedby"`
	UserLabelServiceType   string  `json:"user_label_servicetype"`
	UserTagUsedBy          string  `json:"user_tag_usedby"`
	UsageStartDate         string  `json:"usage_start_date"`
	ResourceName           string  `json:"resource_name"`
}
