deliver_order.go 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. Fill this file as you wish.
  3. // ==========================================================================
  4. package work
  5. import (
  6. "dashoo.cn/micro/app/model/work/internal"
  7. "dashoo.cn/opms_libary/request"
  8. )
  9. // DeliverOrder is the golang structure for table deliver_order.
  10. type DeliverOrder internal.DeliverOrder
  11. // Fill with you ideas below.
  12. type DeliverOrderGetRsp struct {
  13. DeliverOrder
  14. Plan []*DeliverOrderImpPlan `json:"plan"`
  15. Product []*DeliverOrderProduct `json:"product"`
  16. }
  17. type DeliverOrderListReq struct {
  18. request.PageReq
  19. OrderCode string `json:"orderCode"` // 交付订单号
  20. OrderStatus string `json:"orderStatus"` // 交付状态(10项目立项 )
  21. OrderType string `json:"orderType"` // 交付类型(10 软件 20 硬件)
  22. CustId int `json:"custId"` // 关联客户ID
  23. CustName string `json:"custName"` // 关联客户名称
  24. ProjectId int `json:"projectId"` // 关联项目ID
  25. ProjectName string `json:"projectName"` // 关联项目名称
  26. ContractId int `json:"contractId"` // 关联合同ID
  27. ContractCode string `json:"contractCode"` // 关联合同编号
  28. ProjectManId int `json:"projectManId"` // 项目经理
  29. ProjectManName string `json:"projectManName"` // 项目经理
  30. DeliverManId int `json:"deliverManId"` // 交付经理
  31. DeliverManName string `json:"deliverManName"` // 交付经理
  32. Product string `json:"product"` // 产品线
  33. }
  34. type DeliverOrderAddReq struct {
  35. ContractId int `json:"contractId" v:"required#请输入合同ID"` // 关联合同ID
  36. }
  37. type DeliverOrderUpdateReq struct {
  38. Id int `json:"id" v:"required#请输入Id"`
  39. OrderStatus string `json:"orderStatus"` // 交付状态(10项目立项 )
  40. ProjectManId int `json:"projectManId"` // 项目经理
  41. ProjectManName string `json:"projectManName"` // 项目经理
  42. DeliverManId int `json:"deliverManId"` // 交付经理
  43. DeliverManName string `json:"deliverManName"` // 交付经理
  44. }
  45. type DeliverOrderFinishReq struct {
  46. OrderId int `json:"orderId" v:"min:1#工单不能为空"` //
  47. FinishRemark string `json:"finishRemark"` // 完成信息
  48. }