forked from free-lancers/electricity_bill_calc_service
		
	feat(stat):增加首页使用的提示和统计接口。
This commit is contained in:
		| @@ -1,6 +1,8 @@ | ||||
| package model | ||||
|  | ||||
| import ( | ||||
| 	"time" | ||||
|  | ||||
| 	"github.com/shopspring/decimal" | ||||
| ) | ||||
|  | ||||
| @@ -46,3 +48,9 @@ type ParkSimplified struct { | ||||
| func (ParkSimplified) TableName() string { | ||||
| 	return "park" | ||||
| } | ||||
|  | ||||
| type ParkPeriodStatistics struct { | ||||
| 	Id     string     `xorm:"varchar(120) not null" json:"id"` | ||||
| 	Name   string     `xorm:"varchar(120) not null" json:"name"` | ||||
| 	Period *time.Time `xorm:"date" json:"period" time_format:"simple_date" time_location:"shanghai"` | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user