// ========================================================================== // This is auto-generated by gf cli tool. Fill this file as you wish. // ========================================================================== package contract import ( "dashoo.cn/micro/app/model/contract/internal" "dashoo.cn/opms_libary/request" "github.com/gogf/gf/os/gtime" ) // CtrContractCollectionPlan is the golang structure for table ctr_contract_collection_plan. type CtrContractCollectionPlan internal.CtrContractCollectionPlan // Fill with you ideas below. type CtrContractCollectionPlanGetRsp struct { CtrContractCollectionPlan Collection []*CtrContractCollection `json:"collection"` } type CtrContractCollectionPlanListReq struct { request.PageReq SearchText string `json:"searchText"` // 合同编号,客户名称 CustId int `json:"custId"` // 关联客户 CustName string `json:"custName"` // 客户名称 ContractId int `json:"contractId"` // 关联合同 ContractCode string `json:"contractCode"` // 合同编号 ContractStatus string `json:"contractStatus"` // 回款状态(10待回款20部分回款30全部回款) PlanBeginTime string `p:"planBeginTime"` //开始时间 PlanEndTime string `p:"planEndTime"` //结束时间 InchargeId int `json:"inchargeId"` // 负责人(销售工程师) InchargeName string `json:"inchargeName"` // 负责人(销售工程师) CustProvinceId int `json:"custProvinceId"` // 所在省ID CustCityId int `json:"custCityId"` // 所在市ID // PlanAmount float64 `json:"planAmount"` // 计划回款金额 // PlanDatetime *gtime.Time `json:"planDatetime"` // 计划回款日期 // CashedAmount float64 `json:"cashedAmount"` // 实际回款金额 // CashedDatetime *gtime.Time `json:"cashedDatetime"` // 实际回款日期 } type CtrContractCollectionPlanListRsp struct { CtrContractCollectionPlan CollectionContractInfo } type CtrContractCollectionPlanAddReq struct { // CustId int `json:"custId"` // 关联客户 // CustName string `json:"custName"` // 客户名称 ContractId int `json:"contractId"` // 关联合同 // ContractCode string `json:"contractCode"` // 合同编号 // ContractStatus string `json:"contractStatus"` // 回款状态(10待回款20部分回款30全部回款) PlanAmount float64 `json:"planAmount"` // 计划回款金额 PlanDatetime *gtime.Time `json:"planDatetime"` // 计划回款日期 PlanScale float64 `json:"planScale"` // 计划回款比例 PlanCondition string `json:"planCondition"` // 回款条件 // CashedAmount float64 `json:"cashedAmount"` // 实际回款金额 // CashedDatetime *gtime.Time `json:"cashedDatetime"` // 实际回款日期 Remark string `json:"remark"` // 备注 } type CtrContractCollectionPlanUpdateReq struct { Id int `json:"id" v:"required#请输入Id"` // CustId int `json:"custId"` // 关联客户 // CustName string `json:"custName"` // 客户名称 // ContractId int `json:"contractId"` // 关联合同 // ContractCode string `json:"contractCode"` // 合同编号 // ContractStatus string `json:"contractStatus"` // 回款状态(10待回款20部分回款30全部回款) PlanAmount *float64 `json:"planAmount"` // 计划回款金额 PlanDatetime *gtime.Time `json:"planDatetime"` // 计划回款日期 PlanScale *float64 `json:"planScale"` // 计划回款比例 PlanCondition *string `json:"planCondition"` // 回款条件 // CashedAmount *float64 `json:"cashedAmount"` // 实际回款金额 // CashedDatetime *gtime.Time `json:"cashedDatetime"` // 实际回款日期 Remark *string `json:"remark"` }