supplier_withdraw_list.go 1.9 KB

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