add stats daily

This commit is contained in:
shoopea
2021-12-10 21:22:10 +08:00
parent 7590355d87
commit 15203263e6
5 changed files with 60 additions and 49 deletions

View File

@@ -4,7 +4,7 @@ import (
"time"
)
type Stat struct {
type StatMonthly struct {
CompanyID uint8
Date time.Time
Trains int
@@ -28,3 +28,13 @@ type Stat struct {
PerformancePreviousQuarter int
DeliveredCargoPreviousQuarter int
}
type StatDaily struct {
Money int64
Loan int64
Value int64
Trains int
Road int
Planes int
Ships int
}