package response import ( "github.com/rdlucklib/rdluck_tools/paging" ) type KnowledgeResourceApproveFlowItem struct { KnowledgeResourceApproveFlowId int `description:"主键"` FlowName string `description:"知识资源审批流程名称"` ClassifyId int `description:"分类ID"` ClassifyName string `description:"分类名称"` CurrVersion int `description:"当前版本"` CreateTime string `description:"创建时间"` ModifyTime string `description:"修改时间"` } type KnowledgeResourceApproveFlowListResp struct { List []*KnowledgeResourceApproveFlowItem Paging *paging.PagingItem } type KnowledgeResourceApproveFlowDetailResp struct { KnowledgeResourceApproveFlowItem `description:"审批流信息"` Nodes []*KnowledgeResourceApproveNodeItem `description:"节点信息"` } type KnowledgeResourceApproveNodeUser struct { UserType string `description:"审批人类型: user-用户; role-角色"` UserId int `description:"用户/角色ID"` UserName string `description:"用户/角色姓名"` Sort int `description:"排序"` } type KnowledgeResourceApproveNodeItem struct { KnowledgeResourceApproveNodeId int `description:"知识资源审批节点ID"` KnowledgeResourceApproveFlowId int `description:"知识资源审批流ID"` PrevNodeId int `description:"上一个节点ID(0为开始节点)"` NextNodeId int `description:"下一个节点ID(0为结束节点)"` NodeType int `description:"节点类型:0-审批;1-抄送"` ApproveType int `description:"审批类型:1-依次审批;2-会签;3-或签"` Users []*KnowledgeResourceApproveNodeUser `description:"审批人信息"` } type KnowledgeResourceApproveListResp struct { List []*KnowledgeResourceApproveItemOrmResp Paging *paging.PagingItem }