plat_workflow.go 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. Fill this file as you wish.
  3. // ==========================================================================
  4. package workflow
  5. import (
  6. "dashoo.cn/micro/app/model/workflow/internal"
  7. "dashoo.cn/opms_libary/request"
  8. )
  9. // BizType 业务类型(10客户20项目创建30合同创建)
  10. const (
  11. CustomerReceive = "11" // 领取公海客户
  12. CustomerPublic = "12" // 客户移回公海
  13. CustomerTrans = "13" // 转移客户
  14. ProjectCreate = "20" // 项目创建
  15. ProjectUpGrade = "21" // 项目升级审批
  16. ProjectDownGrade = "22" // 项目降级审批
  17. ProjectTransfer = "23" // 项目转移项目审批
  18. ProjectToReserve = "24" // 项目转为储备项目审批
  19. ProjectPersonnel = "25" // 项目协同人员审批
  20. ContractCreate = "30" // 合同创建
  21. ContractInvoice = "31" // 申请发票
  22. PlatTaskApproval = "40" // 督办任务审批
  23. DistProxyCreate = "51" // 创建代理商
  24. DistToProxy = "52" // 经销商转代理商
  25. DistProxyRenew = "53" // 代理商续签
  26. DistToDist = "54" // 代理商转经销商
  27. WorkOrderCreate = "61" // 工单创建
  28. )
  29. // PlatWorkflow is the golang structure for table plat_workflow.
  30. type PlatWorkflow internal.PlatWorkflow
  31. // Fill with you ideas below.
  32. // SearchWorkflowReq 查询
  33. type SearchWorkflowReq struct {
  34. BizCode string `json:"bizCode"`
  35. BizType string `son:"bizType"`
  36. MySelf string `json:"mySelf"` // 不为0时,查询自己的数据;为0时,查询全部数据
  37. request.PageReq
  38. }