mirror of
https://github.com/Luzifer/sii.git
synced 2024-12-21 00:21:15 +00:00
Fix: Profit logs contain pointer, not strings
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
f324361cf8
commit
2f64ab29dc
1 changed files with 13 additions and 13 deletions
|
@ -5,19 +5,19 @@ func init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ProfitLogEntry struct {
|
type ProfitLogEntry struct {
|
||||||
Revenue int64 `sii:"revenue"`
|
Revenue int64 `sii:"revenue"`
|
||||||
Wage int64 `sii:"wage"`
|
Wage int64 `sii:"wage"`
|
||||||
Maintenance int64 `sii:"maintenance"`
|
Maintenance int64 `sii:"maintenance"`
|
||||||
Fuel int64 `sii:"fuel"`
|
Fuel int64 `sii:"fuel"`
|
||||||
Distance int64 `sii:"distance"`
|
Distance int64 `sii:"distance"`
|
||||||
DistanceOnJob bool `sii:"distance_on_job"`
|
DistanceOnJob bool `sii:"distance_on_job"`
|
||||||
CargoCount int64 `sii:"cargo_count"`
|
CargoCount int64 `sii:"cargo_count"`
|
||||||
Cargo string `sii:"cargo"`
|
Cargo Ptr `sii:"cargo"`
|
||||||
SourceCity string `sii:"source_city"`
|
SourceCity Ptr `sii:"source_city"`
|
||||||
SourceCompany string `sii:"source_company"`
|
SourceCompany Ptr `sii:"source_company"`
|
||||||
DestinationCity string `sii:"destination_city"`
|
DestinationCity Ptr `sii:"destination_city"`
|
||||||
DestinationCompany string `sii:"destination_company"`
|
DestinationCompany Ptr `sii:"destination_company"`
|
||||||
TimestampDay int64 `sii:"timestamp_day"`
|
TimestampDay int64 `sii:"timestamp_day"`
|
||||||
|
|
||||||
blockName string
|
blockName string
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue