chart.go 585 B

123456789101112131415161718192021
  1. package response
  2. import (
  3. "eta/eta_mobile/models/data_manage"
  4. "eta/eta_mobile/models/data_manage/cross_variety"
  5. )
  6. // ChartPreviewResp
  7. // @Description: 图表预览返回
  8. type ChartPreviewResp struct {
  9. EdbInfoList []*data_manage.ChartEdbInfoMapping
  10. DataResp interface{} `description:"图表数据,根据图的类型而定的,没有确定的数据格式"`
  11. }
  12. // ChartRelationResp
  13. // @Description: 图表关联配置返回
  14. type ChartRelationResp struct {
  15. ChartInfo *data_manage.ChartInfoView
  16. TagList []*cross_variety.ChartTag
  17. VarietyList []*cross_variety.ChartVariety
  18. }