platform.go 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. package model
  2. // ScaleTotal 实验室规模统计
  3. type ScaleTotal struct {
  4. SubjectTotal int `json:"subject_total"` //课题数量
  5. ResultsTotal int `json:"results_total"` // 成果数量
  6. OrganizationTotal int `json:"organization_total"` // 合作机构
  7. Researcher int `json:"researcher"` // 科研人员
  8. }
  9. // SubjectTotal 课题总量统计
  10. type SubjectTotal struct {
  11. Year string `json:"year"` // 年
  12. Total int `json:"total"` // 课题总量
  13. GrowthRate float64 `json:"growth_rate"` // 课题年度增长率
  14. }
  15. // ResultStatistics 平台数量
  16. type ResultStatistics struct {
  17. PlatformName string `json:"platform_name"` //平台名称
  18. SubjectTotal int `json:"subject_total"` // 课题数量
  19. ResultTotal int `json:"result_total"` // 成果数量
  20. }
  21. // Result 成果展示
  22. type Result struct {
  23. Name string `json:"name"` // 成果标题
  24. PlanNumber int `json:"plan_number"` // 年度计划数量
  25. CompletedNumber int `json:"completed_number"` // 完成数量
  26. }
  27. // Message 合作交流
  28. type Message struct {
  29. PublishTime string `json:"publish_time"` // 时间
  30. Msg string `json:"msg"` // 信息
  31. }