From 2c182496fa2c7fc1e20dcea53d15a3362f25f38f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Tue, 20 Sep 2022 15:09:00 +0800 Subject: [PATCH] =?UTF-8?q?enhance(model):=E8=B0=83=E6=95=B4=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E7=BB=93=E6=9E=84=E4=BD=BF=E5=85=B6=E6=96=B9=E4=BE=BF?= =?UTF-8?q?=E8=BF=81=E7=A7=BB=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/report_summary.go | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) 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) {