knowledge_approve_flow.go 612 B

1234567891011121314151617181920212223
  1. package request
  2. type KnowledgeResourceApproveFlowSaveReq struct {
  3. KnowledgeResourceApproveFlowId int
  4. ClassifyId int
  5. FlowName string
  6. Nodes []Node
  7. }
  8. type Node struct {
  9. ApproveType int `description:"审批类型: 1-依次审批, 2-会签, 3-或签"`
  10. Users []User
  11. }
  12. type User struct {
  13. UserId int `description:"用户ID"`
  14. UserName string `description:"用户名"`
  15. UserType string `description:"用户类型: user-用户 role-角色"`
  16. }
  17. type KnowledgeResourceApproveFlowRemoveReq struct {
  18. KnowledgeResourceApproveFlowId int
  19. }