bi_approve_flow.go 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. package response
  2. import (
  3. "github.com/rdlucklib/rdluck_tools/paging"
  4. )
  5. type BiApproveFlowItem struct {
  6. BiApproveFlowId int `description:"主键"`
  7. FlowName string `description:"bi审批流程名称"`
  8. ClassifyId int `description:"分类ID"`
  9. ClassifyName string `description:"分类名称"`
  10. CurrVersion int `description:"当前版本"`
  11. CreateTime string `description:"创建时间"`
  12. ModifyTime string `description:"修改时间"`
  13. }
  14. type BiApproveFlowListResp struct {
  15. List []*BiApproveFlowItem
  16. Paging *paging.PagingItem
  17. }
  18. type BiApproveFlowDetailResp struct {
  19. BiApproveFlowItem `description:"审批流信息"`
  20. Nodes []*BiApproveNodeItem `description:"节点信息"`
  21. }
  22. type BiApproveNodeUser struct {
  23. UserType string `description:"审批人类型: user-用户; role-角色"`
  24. UserId int `description:"用户/角色ID"`
  25. UserName string `description:"用户/角色姓名"`
  26. Sort int `description:"排序"`
  27. }
  28. type BiApproveNodeItem struct {
  29. BiApproveNodeId int `description:"BI审批节点ID"`
  30. BiApproveFlowId int `description:"BI审批流ID"`
  31. PrevNodeId int `description:"上一个节点ID(0为开始节点)"`
  32. NextNodeId int `description:"下一个节点ID(0为结束节点)"`
  33. NodeType int `description:"节点类型:0-审批;1-抄送"`
  34. ApproveType int `description:"审批类型:1-依次审批;2-会签;3-或签"`
  35. Users []*BiApproveNodeUser `description:"审批人信息"`
  36. }
  37. type BiApproveListResp struct {
  38. List []*BiApproveItemOrmResp
  39. Paging *paging.PagingItem
  40. }