plat_workflow.go 1.0 KB

123456789101112131415161718192021222324252627282930313233
  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. ContractCreate = "30" // 合同创建
  16. ContractInvoice = "31" // 申请发票
  17. )
  18. // PlatWorkflow is the golang structure for table plat_workflow.
  19. type PlatWorkflow internal.PlatWorkflow
  20. // Fill with you ideas below.
  21. // SearchWorkflowReq 查询
  22. type SearchWorkflowReq struct {
  23. BizCode string `json:"bizCode"`
  24. BizType string `son:"bizType"`
  25. MySelf string `json:"mySelf"` // 不为0时,查询自己的数据;为0时,查询全部数据
  26. request.PageReq
  27. }