collect_edb.go 1.2 KB

123456789101112131415161718192021222324
  1. package request
  2. // BatchEdbCollectReq 批量加入收藏
  3. type BatchEdbCollectReq struct {
  4. GeneralEdbEsSearchReq
  5. EdbIdList []int `description:"选中的指标id列表"`
  6. NoEdbIdList []int `description:"未选中的指标id列表"`
  7. IsSelectAll bool `description:"是否选择所有指标"`
  8. CollectClassifyIdList []int `description:"收藏分类ID列表"`
  9. }
  10. // GeneralEdbEsSearchReq 指标通用es搜索参数
  11. type GeneralEdbEsSearchReq struct {
  12. FilterSource int `description:"搜索来源:1:其他搜索,2:累计值转月值搜索,3:变频,4:基础指标,5:同比"`
  13. ClassifyId int `description:"父级分类id"`
  14. Source int `description:"来源"`
  15. EdbAuth int `description:"指标权限范围,0-全部;1-我的;2-公共"`
  16. EdbCollect int `description:"指标收藏状态:0-全部;1-已收藏"`
  17. Frequency string `description:"频度"`
  18. NotFrequency string `description:"不需要的频度"`
  19. EdbType string `description:"指标类型:0-基础和计算;1-基础指标;2-计算指标;3-预测指标"`
  20. Keyword string `description:"关键字"`
  21. KeyWord string `description:"关键字"`
  22. }