request.go 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. package data_manage
  2. // PushBusinessIndexReq
  3. // @Description: 添加外部指标(商家)请求
  4. type PushBusinessIndexReq struct {
  5. IndexCode string `description:"指标编码"`
  6. IndexName string `description:"指标名称"`
  7. Unit string `description:"单位"`
  8. Frequency string `description:"频度"`
  9. SourceName string `description:"数据来源名称"`
  10. Remark string `description:"备注字段"`
  11. DataList []AddBusinessDataReq `description:"指标数据"`
  12. }
  13. // AddBusinessDataReq
  14. // @Description: 外部指标(商家系统)数据
  15. type AddBusinessDataReq struct {
  16. Value float64 `description:"值"`
  17. Date string `description:"日期"`
  18. }
  19. // DelBusinessIndexReq
  20. // @Description: 删除外部指标(商家)请求
  21. type DelBusinessIndexReq struct {
  22. IndexCodeList []string `description:"指标编码列表"`
  23. }
  24. // DelBusinessDataReq
  25. // @Description: 删除外部指标(商家)明细请求
  26. type DelBusinessDataReq struct {
  27. IndexCode string `description:"指标编码"`
  28. StartDate string `description:"开始日期"`
  29. EndDate string `description:"结束日期"`
  30. }