gottdad/stats.go

43 lines
1.0 KiB
Go
Raw Normal View History

2021-12-05 08:41:47 +01:00
package main
2021-12-05 11:23:08 +01:00
import (
"time"
)
2021-12-05 08:41:47 +01:00
2021-12-10 14:22:10 +01:00
type StatMonthly struct {
2021-12-05 08:41:47 +01:00
CompanyID uint8
Date time.Time
Trains int
Lorries int
Busses int
Planes int
Ships int
TrainStations int
LorryStations int
BusStops int
Airports int
Harbours int
Money int64
Loan int64
Income int64
DeliveredCargoThisQuarter int
CompanyValueLastQuarter int64
PerformanceLastQuarter int
DeliveredCargoLastQuarter int
CompanyValuePreviousQuarter int64
PerformancePreviousQuarter int
DeliveredCargoPreviousQuarter int
}
2021-12-10 14:22:10 +01:00
type StatDaily struct {
2021-12-11 03:38:14 +01:00
CompanyID uint8
Date time.Time
Money int64
Loan int64
Value int64
Train int
Road int
Plane int
Ship int
2021-12-10 14:22:10 +01:00
}