diff --git a/model/report_summary.go b/model/report_summary.go index a42ad05..1a996af 100644 --- a/model/report_summary.go +++ b/model/report_summary.go @@ -44,17 +44,17 @@ type ReportSummary struct { } type Consumptions struct { - Consumption decimal.NullDecimal `json:"consumption"` - Fee decimal.NullDecimal `json:"fee"` - Critical decimal.NullDecimal `json:"critical"` - CriticalFee decimal.NullDecimal `json:"criticalFee"` - Peak decimal.NullDecimal `json:"peak"` - PeakFee decimal.NullDecimal `json:"peakFee"` - Flat decimal.NullDecimal `json:"flat"` - FlatFee decimal.NullDecimal `json:"flatFee"` - Valley decimal.NullDecimal `json:"valley"` - ValleyFee decimal.NullDecimal `json:"valleyFee"` - Proportion decimal.NullDecimal `json:"proportion"` + Consumption decimal.NullDecimal `json:"consumption"` + ConsumptionFee decimal.NullDecimal `json:"fee"` + Critical decimal.NullDecimal `json:"critical"` + CriticalFee decimal.NullDecimal `json:"criticalFee"` + Peak decimal.NullDecimal `json:"peak"` + PeakFee decimal.NullDecimal `json:"peakFee"` + Flat decimal.NullDecimal `json:"flat"` + FlatFee decimal.NullDecimal `json:"flatFee"` + Valley decimal.NullDecimal `json:"valley"` + ValleyFee decimal.NullDecimal `json:"valleyFee"` + Proportion decimal.NullDecimal `json:"proportion"` } func (s ReportSummary) Validate() (bool, error) {