统计当前系统中的报表

This commit is contained in:
2023-07-26 15:11:16 +08:00
parent 9ad3415cdb
commit 5866882c2d
3 changed files with 133 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
package model
import (
"electricity_bill_calc/types"
"time"
"github.com/shopspring/decimal"
@@ -35,4 +36,10 @@ type Park struct {
type Parks struct {
Park
NormAuthorizedLossRate float64 `json:"norm_authorized_loss_rate"`
}
}
type ParkPeriodStatistics struct {
Id string `json:"id"`
Name string `json:"name"`
Period *types.DateRange
}