supplier_withdraw_list.go 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. package http_model
  2. type SupplierWithdrawListRequest struct {
  3. SupplierId int `json:"supplier_id"` // 服务商ID
  4. WithdrawStatus int `json:"withdraw_status"` // 提现状态:2提现中,3已提现,4已驳回
  5. PageNum int32 `json:"page_num"`
  6. PageSize int32 `json:"page_size"`
  7. }
  8. type SupplierWithdrawListData struct {
  9. WithdrawList []*SupplierWithdrawInfo `json:"withdraw_list"` // 待提现收入列表
  10. Total int64 `json:"total"` // 数量
  11. }
  12. type SupplierWithdrawInfo struct {
  13. SupplierType int `json:"supplier_type"` // 服务商类型,1个人,2企业
  14. SupplierWithdrawId int `json:"supplier_withdraw_id"` // 提现流水号
  15. WithdrawAmount float64 `json:"withdraw_amount"` // 提现金额
  16. AmountPayable float64 `json:"amount_payable"` // 实际提现金额(扣税后)
  17. STaskInfo []*STaskInfo `json:"s_task_info"` // 任务信息
  18. Name string `json:"name"` // 姓名
  19. IDNumber string `json:"id_number"` // 身份证号
  20. BankName string `json:"bank_name"` // 开户银行名称
  21. BankNumber string `json:"bank_number"` // 银行卡
  22. Phone string `json:"phone"` // 手机号
  23. Company string `json:"company"` // 公司名称
  24. SupplyTime string `json:"supply_time"` // 申请时间
  25. AgreeTime string `json:"agree_time"` // 同意时间
  26. RejectTime string `json:"reject_time"` // 驳回时间
  27. FailReason string `json:"fail_reason"` // 驳回原因
  28. }
  29. func NewSupplierWithdrawListRequest() *SupplierWithdrawListRequest {
  30. return new(SupplierWithdrawListRequest)
  31. }
  32. func NewSupplierWithdrawListResponse() *CommonResponse {
  33. resp := new(CommonResponse)
  34. resp.Data = new(SupplierWithdrawListData)
  35. return resp
  36. }