forked from free-lancers/electricity_bill_calc_service
fix(stat):修正统计部分的关联设计。
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user