101 lines
3.2 KiB
Go
101 lines
3.2 KiB
Go
package models
|
|
|
|
type AreaInfo struct {
|
|
Name string `json:"name"`
|
|
Parent string `json:"parent"`
|
|
Today AreaToday `json:"today"`
|
|
Total AreaTotal `json:"total"`
|
|
Children []AreaInfo `json:"children"`
|
|
}
|
|
|
|
type AreaToday struct {
|
|
Comfirm int `json:"confirm"`
|
|
IsUpdated bool `json:"isUpdate"`
|
|
}
|
|
|
|
type AreaTotal struct {
|
|
NowConfirm int `json:"nowConfirm"`
|
|
Confirm int `json:"confirm"`
|
|
Dead int `json:"dead"`
|
|
ShowRate bool `json:"showRate"`
|
|
Heal int `json:"heal"`
|
|
ShowHeal bool `json:"showHeal"`
|
|
Wzz int `json:"wzz"`
|
|
ProvinceLocalConfirm int `json:"provinceLocalConfirm"`
|
|
}
|
|
|
|
type ChinaAdd struct {
|
|
Confirm int `json:"confirm"`
|
|
Dead int `json:"dead"`
|
|
Heal int `json:"heal"`
|
|
ImportedCase int `json:"importedCase"`
|
|
LocalConfirm int `json:"localConfirm"`
|
|
LocalConfirmH5 int `json:"localConfirmH5"`
|
|
NoInfect int `json:"noInfect"`
|
|
NoInfectH5 int `json:"noInfectH5"`
|
|
NowConfirm int `json:"nowConfirm"`
|
|
NowSevere int `json:"nowSevere"`
|
|
Suspect int `json:"suspect"`
|
|
}
|
|
|
|
type ChinaTotal struct {
|
|
Confirm int `json:"confirm"`
|
|
Dead int `json:"dead"`
|
|
Heal int `json:"heal"`
|
|
ImportedCase int `json:"importedCase"`
|
|
LocalConfirm int `json:"localConfirm"`
|
|
LocalConfirmH5 int `json:"localConfirmH5"`
|
|
LocalAccConfirm int `json:"local_acc_confirm"`
|
|
NoInfect int `json:"noInfect"`
|
|
NoInfectH5 int `json:"noInfectH5"`
|
|
NowConfirm int `json:"nowConfirm"`
|
|
NowSevere int `json:"nowSevere"`
|
|
ShowLocalConfirm int `json:"showLocalConfirm"`
|
|
Showlocalinfeciton int `json:"showlocalinfeciton"`
|
|
Suspect int `json:"suspect"`
|
|
}
|
|
|
|
type ChinaData struct {
|
|
ChinaAdd ChinaAdd `json:"chinaAdd"`
|
|
ChinaTotal ChinaTotal `json:"chinaTotal"`
|
|
}
|
|
|
|
type ChinaDayAdd struct {
|
|
DeadRate string `json:"deadRate"`
|
|
HealRate string `json:"healRate"`
|
|
Date string `json:"date"`
|
|
Year string `json:"y"`
|
|
Confirm int `json:"confirm"`
|
|
Suspect int `json:"suspect"`
|
|
Dead int `json:"dead"`
|
|
Infect int `json:"infect"`
|
|
Heal int `json:"heal"`
|
|
ImportedCase int `json:"importedCase"`
|
|
Localinfectionadd int `json:"localinfectionadd"`
|
|
LocalConfirmadd int `json:"localConfirmadd"`
|
|
}
|
|
|
|
type ChinaDay struct {
|
|
DeadRate string `json:"deadRate"`
|
|
NoInfect int `json:"noInfect"`
|
|
LocalConfirm int `json:"localConfirm"`
|
|
ImportedCase int `json:"importedCase"`
|
|
Date string `json:"date"`
|
|
LocalConfirmH5 int `json:"localConfirmH5"`
|
|
Suspect int `json:"suspect"`
|
|
Dead int `json:"dead"`
|
|
Heal int `json:"heal"`
|
|
Year string `json:"y"`
|
|
Confirm int `json:"confirm"`
|
|
NowConfirm int `json:"nowConfirm"`
|
|
HealRate string `json:"healRate"`
|
|
NowSevere int `json:"nowSevere"`
|
|
NoInfectH5 int `json:"noInfectH5"`
|
|
LocalAccConfirm int `json:"local_acc_confirm"`
|
|
}
|
|
|
|
type ChinaTrend struct {
|
|
ChinaDayList []ChinaDay `json:"ChinaDayList"`
|
|
ChinaDayAddList []ChinaDayAdd `json:"chinaDayAddList"`
|
|
}
|