mysteel_chemical_data.go 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. package request
  2. // AddBaseFromMysteelChemicalClassifyReq 添加上海钢联分类请求
  3. type AddBaseFromMysteelChemicalClassifyReq struct {
  4. ParentId int `description:"上级id"`
  5. ClassifyName string `description:"分类名称"`
  6. Level int `description:"层级,第一级传0,其余传上一级的层级"`
  7. }
  8. // EditBaseFromMysteelChemicalClassifyReq 修改上海钢联分类请求
  9. type EditBaseFromMysteelChemicalClassifyReq struct {
  10. ClassifyName string `description:"分类名称"`
  11. BaseFromMysteelChemicalClassifyId int `description:"分类id"`
  12. }
  13. // MoveBaseFromMysteelChemicalClassifyReq 移动分类请求参数
  14. type MoveBaseFromMysteelChemicalClassifyReq struct {
  15. BaseFromMysteelChemicalClassifyId int `description:"分类id"`
  16. ParentBaseFromMysteelChemicalClassifyId int `description:"父级分类id"`
  17. PrevBaseFromMysteelChemicalClassifyId int `description:"上一个兄弟节点分类id"`
  18. NextBaseFromMysteelChemicalClassifyId int `description:"下一个兄弟节点分类id"`
  19. }
  20. // DelBaseFromMysteelChemicalClassifyReq 删除上海钢联分类请求
  21. type DelBaseFromMysteelChemicalClassifyReq struct {
  22. BaseFromMysteelChemicalClassifyId int `description:"分类id"`
  23. }
  24. // AddBaseFromMysteelChemicalReq 添加上海钢联请求
  25. type AddBaseFromMysteelChemicalReqItem struct {
  26. BaseFromMysteelChemicalIndexId int `description:"指标id"`
  27. BaseFromMysteelChemicalClassifyId int `description:"分类id"`
  28. IndexCode string `description:"指标id"`
  29. UpdateWeek string `description:"更新周期"`
  30. UpdateTime string `description:"更新时间点,多个时间点用英文,隔开"`
  31. }
  32. // AddBaseFromMysteelChemicalReq 添加上海钢联请求
  33. type AddBaseFromMysteelChemicalReq struct {
  34. List []AddBaseFromMysteelChemicalReqItem
  35. }
  36. // DelBaseFromMysteelChemicalReq 删除上海钢联请求
  37. type DelBaseFromMysteelChemicalReq struct {
  38. BaseFromMysteelChemicalIndexId int `description:"指标id"`
  39. }
  40. // MoveBaseFromMysteelChemicalReq 移动指标请求参数
  41. type MoveBaseFromMysteelChemicalReq struct {
  42. BaseFromMysteelChemicalClassifyId int `description:"父级分类id"`
  43. BaseFromMysteelChemicalIndexId int `description:"指标id"`
  44. PrevBaseFromMysteelChemicalIndexId int `description:"上一个兄弟节点分类id"`
  45. NextBaseFromMysteelChemicalIndexId int `description:"下一个兄弟节点分类id"`
  46. }