fix(stat):修正统计部分的关联设计。

This commit is contained in:
徐涛
2022-09-18 10:26:43 +08:00
parent 1c0ebc9559
commit 2aa6939186
2 changed files with 5 additions and 5 deletions

View File

@@ -61,8 +61,8 @@ type ParkSimplified struct {
}
type ParkPeriodStatistics struct {
Id string `bun:",notnull" json:"id"`
Name string `bun:",notnull" json:"name"`
Id string `bun:"park__id,notnull" json:"id"`
Name string `bun:"park__name,notnull" json:"name"`
Period *time.Time `bun:"type:date" json:"period" time_format:"simple_date" time_location:"shanghai"`
}