ctr_contract_collection_plan.go 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. Fill this file as you wish.
  3. // ==========================================================================
  4. package contract
  5. import (
  6. "dashoo.cn/micro/app/model/contract/internal"
  7. "dashoo.cn/opms_libary/request"
  8. "github.com/gogf/gf/os/gtime"
  9. )
  10. // CtrContractCollectionPlan is the golang structure for table ctr_contract_collection_plan.
  11. type CtrContractCollectionPlan internal.CtrContractCollectionPlan
  12. // Fill with you ideas below.
  13. type CtrContractCollectionPlanGetRsp struct {
  14. CtrContractCollectionPlan
  15. Collection []*CtrContractCollection `json:"collection"`
  16. }
  17. type CtrContractCollectionPlanListReq struct {
  18. request.PageReq
  19. SearchText string `json:"searchText"` // 合同编号,客户名称
  20. CustId int `json:"custId"` // 关联客户
  21. CustName string `json:"custName"` // 客户名称
  22. ContractId int `json:"contractId"` // 关联合同
  23. ContractCode string `json:"contractCode"` // 合同编号
  24. ContractStatus string `json:"contractStatus"` // 回款状态(10待回款20部分回款30全部回款)
  25. PlanBeginTime string `p:"planBeginTime"` //开始时间
  26. PlanEndTime string `p:"planEndTime"` //结束时间
  27. InchargeId int `json:"inchargeId"` // 负责人(销售工程师)
  28. InchargeName string `json:"inchargeName"` // 负责人(销售工程师)
  29. CustProvinceId int `json:"custProvinceId"` // 所在省ID
  30. CustCityId int `json:"custCityId"` // 所在市ID
  31. // PlanAmount float64 `json:"planAmount"` // 计划回款金额
  32. // PlanDatetime *gtime.Time `json:"planDatetime"` // 计划回款日期
  33. // CashedAmount float64 `json:"cashedAmount"` // 实际回款金额
  34. // CashedDatetime *gtime.Time `json:"cashedDatetime"` // 实际回款日期
  35. }
  36. type CtrContractCollectionPlanListRsp struct {
  37. CtrContractCollectionPlan
  38. CollectionContractInfo
  39. }
  40. type CtrContractCollectionPlanAddReq struct {
  41. // CustId int `json:"custId"` // 关联客户
  42. // CustName string `json:"custName"` // 客户名称
  43. ContractId int `json:"contractId"` // 关联合同
  44. // ContractCode string `json:"contractCode"` // 合同编号
  45. // ContractStatus string `json:"contractStatus"` // 回款状态(10待回款20部分回款30全部回款)
  46. PlanAmount float64 `json:"planAmount"` // 计划回款金额
  47. PlanDatetime *gtime.Time `json:"planDatetime"` // 计划回款日期
  48. PlanScale float64 `json:"planScale"` // 计划回款比例
  49. PlanCondition string `json:"planCondition"` // 回款条件
  50. // CashedAmount float64 `json:"cashedAmount"` // 实际回款金额
  51. // CashedDatetime *gtime.Time `json:"cashedDatetime"` // 实际回款日期
  52. Remark string `json:"remark"` // 备注
  53. }
  54. type CtrContractCollectionPlanUpdateReq struct {
  55. Id int `json:"id" v:"required#请输入Id"`
  56. // CustId int `json:"custId"` // 关联客户
  57. // CustName string `json:"custName"` // 客户名称
  58. // ContractId int `json:"contractId"` // 关联合同
  59. // ContractCode string `json:"contractCode"` // 合同编号
  60. // ContractStatus string `json:"contractStatus"` // 回款状态(10待回款20部分回款30全部回款)
  61. PlanAmount *float64 `json:"planAmount"` // 计划回款金额
  62. PlanDatetime *gtime.Time `json:"planDatetime"` // 计划回款日期
  63. PlanScale *float64 `json:"planScale"` // 计划回款比例
  64. PlanCondition *string `json:"planCondition"` // 回款条件
  65. // CashedAmount *float64 `json:"cashedAmount"` // 实际回款金额
  66. // CashedDatetime *gtime.Time `json:"cashedDatetime"` // 实际回款日期
  67. Remark *string `json:"remark"`
  68. }