mysteel_chemical_data.go 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. }