deliver_order.go 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. "github.com/gogf/gf/os/gtime"
  9. )
  10. // DeliverOrder is the golang structure for table deliver_order.
  11. type DeliverOrder internal.DeliverOrder
  12. // Fill with you ideas below.
  13. type DeliverOrderGetRsp struct {
  14. DeliverOrder
  15. SaleId int `json:"saleId"`
  16. Plan []*DeliverOrderImpPlan `json:"plan"`
  17. Product []*DeliverOrderProduct `json:"product"`
  18. }
  19. type DeliverOrderInfo struct {
  20. DeliverOrder
  21. Products string `json:"products"`
  22. SaleId int `json:"saleId"`
  23. }
  24. type DeliverOrderListReq struct {
  25. request.PageReq
  26. OrderCode string `json:"orderCode"` // 交付订单号
  27. OrderStatus string `json:"orderStatus"` // 交付状态(10项目立项 )
  28. OrderType string `json:"orderType"` // 交付类型(10 软件 20 硬件)
  29. CustId int `json:"custId"` // 关联客户ID
  30. CustName string `json:"custName"` // 关联客户名称
  31. ProjectId int `json:"projectId"` // 关联项目ID
  32. ProjectName string `json:"projectName"` // 关联项目名称
  33. ContractId int `json:"contractId"` // 关联合同ID
  34. ContractCode string `json:"contractCode"` // 关联合同编号
  35. ProjectManId int `json:"projectManId"` // 项目经理
  36. ProjectManName string `json:"projectManName"` // 项目经理
  37. DeliverManId int `json:"deliverManId"` // 交付经理
  38. DeliverManName string `json:"deliverManName"` // 交付经理
  39. Product string `json:"product"` // 产品线
  40. }
  41. type DeliverOrderAddReq struct {
  42. ContractId int `json:"contractId" v:"required#请输入合同ID"` // 关联合同ID
  43. }
  44. type DeliverOrderUpdateReq struct {
  45. Id int `json:"id" v:"required#请输入Id"`
  46. OrderStatus string `json:"orderStatus"` // 交付状态(10项目立项 )
  47. ProjectManId int `json:"projectManId"` // 项目经理
  48. ProjectManName string `json:"projectManName"` // 项目经理
  49. DeliverManId int `json:"deliverManId"` // 交付经理
  50. DeliverManName string `json:"deliverManName"` // 交付经理
  51. }
  52. type DeliverOrderFinishReq struct {
  53. OrderId int `json:"orderId" v:"min:1#工单不能为空"` //
  54. FinishRemark string `json:"finishRemark"` // 完成信息
  55. }
  56. // StartReq 启动
  57. type StartReq struct {
  58. OrderId int `json:"orderId" v:"min:1#工单不能为空"` //
  59. RequiredDeliveryTime *gtime.Time `json:"requiredDeliveryTime"` // 要求发货时间
  60. ReceivingInfo string `json:"receivingInfo"` // 收货信息
  61. SpecialRequirements string `json:"specialRequirements"` // 特殊要求说明
  62. }