ctr_contract_collection.go 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. // CtrContractCollection is the golang structure for table ctr_contract_collection.
  11. type CtrContractCollection internal.CtrContractCollection
  12. // Fill with you ideas below.
  13. type CtrContractCollectionListReq struct {
  14. request.PageReq
  15. SearchText string `json:"searchText"` // 合同编号,客户名称
  16. PlanId int `json:"planId"` // 合同回款计划
  17. CustId int `json:"custId"` // 关联客户
  18. CustName string `json:"custName"` // 客户名称
  19. ContractId int `json:"contractId"` // 关联合同
  20. ContractCode string `json:"contractCode"` // 合同编号
  21. // CollectionDatetime *gtime.Time `json:"collectionDatetime"` // 回款日期
  22. // CollectionAmount float64 `json:"collectionAmount"` // 回款金额
  23. CollectionType string `json:"collectionType"` // 回款方式
  24. ApproStatus string `json:"approStatus"` // 审核状态 10 未回款 20 已回款
  25. // ContractAmount float64 `json:"contractAmount"` // 合同金额
  26. }
  27. type CtrContractCollectionAddReq struct {
  28. PlanId int `json:"planId"` // 合同回款计划
  29. // CustId int `json:"custId"` // 关联客户
  30. // CustName string `json:"custName"` // 客户名称
  31. ContractId int `json:"contractId"` // 关联合同
  32. // ContractCode string `json:"contractCode"` // 合同编号
  33. CollectionDatetime *gtime.Time `json:"collectionDatetime"` // 回款日期
  34. CollectionAmount float64 `json:"collectionAmount"` // 回款金额
  35. CollectionType string `json:"collectionType"` // 回款方式
  36. // ApproStatus string `json:"approStatus"` // 审核状态 10 未回款 20 已回款
  37. // ContractAmount float64 `json:"contractAmount"` // 合同金额
  38. Remark string `json:"remark"` // 备注
  39. }
  40. type CtrContractCollectionUpdateReq struct {
  41. Id int `json:"id" v:"required#请输入Id"`
  42. // PlanId int `json:"planId"` // 合同回款计划
  43. // CustId int `json:"custId"` // 关联客户
  44. // CustName string `json:"custName"` // 客户名称
  45. // ContractId int `json:"contractId"` // 关联合同
  46. // ContractCode string `json:"contractCode"` // 合同编号
  47. CollectionDatetime *gtime.Time `json:"collectionDatetime"` // 回款日期
  48. CollectionAmount *float64 `json:"collectionAmount"` // 回款金额
  49. CollectionType string `json:"collectionType"` // 回款方式
  50. ApproStatus string `json:"approStatus"` // 审核状态 10 未回款 20 已回款
  51. // ContractAmount float64 `json:"contractAmount"` // 合同金额
  52. Remark *string `json:"remark"`
  53. }