mysteel_chemical_data.go 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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 AddBaseFromMysteelChemicalReq 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. // DelBaseFromMysteelChemicalReq 删除钢联化工请求
  33. type DelBaseFromMysteelChemicalReq struct {
  34. BaseFromMysteelChemicalIndexId int `description:"指标id"`
  35. }
  36. // MoveBaseFromMysteelChemicalReq 移动指标请求参数
  37. type MoveBaseFromMysteelChemicalReq struct {
  38. BaseFromMysteelChemicalClassifyId int `description:"父级分类id"`
  39. BaseFromMysteelChemicalIndexId int `description:"指标id"`
  40. PrevBaseFromMysteelChemicalIndexId int `description:"上一个兄弟节点分类id"`
  41. NextBaseFromMysteelChemicalIndexId int `description:"下一个兄弟节点分类id"`
  42. }