// ========================================================================== // This is auto-generated by gf cli tool. Fill this file as you wish. // ========================================================================== package work import ( contractmodel "dashoo.cn/micro/app/model/contract" "dashoo.cn/micro/app/model/work/internal" "dashoo.cn/opms_libary/request" "github.com/gogf/gf/os/gtime" ) // DeliverOrder is the golang structure for table deliver_order. type DeliverOrder internal.DeliverOrder // Fill with you ideas below. type DeliverOrderGetRsp struct { DeliverOrder SaleId int `json:"saleId"` Plan []*DeliverOrderImpPlan `json:"plan"` Product []*DeliverOrderProduct `json:"product"` ProgressProducts []*DeliverProgressProduct `json:"progressProducts"` Number int `json:"number"` // 发货单数量 Number2 int `json:"number2"` // 安装单数量 } type DeliverOrderInfo struct { DeliverOrder Products string `json:"products"` SaleId int `json:"saleId"` SignatoryUnit string `orm:"signatory_unit" json:"signatoryUnit"` // 合同签订单位 } type DeliverOrderListReq struct { request.PageReq OrderCode string `json:"orderCode"` // 交付订单号 OrderStatus string `json:"orderStatus"` // 交付状态(10项目立项 ) OrderType string `json:"orderType"` // 交付类型(10 软件 20 硬件) CustId int `json:"custId"` // 关联客户ID CustName string `json:"custName"` // 关联客户名称 ProjectId int `json:"projectId"` // 关联项目ID ProjectName string `json:"projectName"` // 关联项目名称 ContractId int `json:"contractId"` // 关联合同ID ContractCode string `json:"contractCode"` // 关联合同编号 ProjectManId int `json:"projectManId"` // 项目经理 ProjectManName string `json:"projectManName"` // 项目经理 DeliverManId int `json:"deliverManId"` // 交付经理 DeliverManName string `json:"deliverManName"` // 交付经理 Product string `json:"product"` // 产品线 Status string `json:"status"` // 交付状态(0发起 10项目立项 15进行中 20完成 30审批拒绝 40关闭) } type DeliverOrderAddReq struct { OrderTypeCode string `json:"orderTypeCode"` ContractId int `json:"contractId" v:"required#请输入合同ID"` // 关联合同ID FormData []DingTalkFormItemData `json:"formData" v:"required#表单数据不能为空"` // 表单数据 } type DeliverOrderUpdateReq struct { Id int `json:"id" v:"required#请输入Id"` OrderStatus string `json:"orderStatus"` // 交付状态(10项目立项 ) ProjectManId int `json:"projectManId"` // 项目经理 ProjectManName string `json:"projectManName"` // 项目经理 DeliverManId int `json:"deliverManId"` // 交付经理 DeliverManName string `json:"deliverManName"` // 交付经理 } type DeliverOrderFinishReq struct { OrderId int `json:"orderId" v:"min:1#工单不能为空"` // FinishRemark string `json:"finishRemark"` // 完成信息 } // StartReq 启动 type StartReq struct { OrderId int `json:"orderId" v:"min:1#工单不能为空"` // RequiredDeliveryTime *gtime.Time `json:"requiredDeliveryTime"` // 要求发货时间 ReceivingInfo string `json:"receivingInfo"` // 收货信息 SpecialRequirements string `json:"specialRequirements"` // 特殊要求说明 } type ProductInfo struct { ProductLine string Products []*contractmodel.CtrContractProduct Remark string } type HardwareReq struct { Name string `json:"name"` }