getsupplierwithdrawlistrequest.go 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. package http_model
  2. type GetSupplierWithdrawListRequest struct {
  3. PageSize int `json:"page_size"`
  4. PageNum int `json:"page"`
  5. Status int `json:"status"`
  6. }
  7. type SupplierWithdrawListResponse struct {
  8. WithDrawId int `json:"withdraw_id"`
  9. WithdrawAmount float64 `json:"withdraw_amount"`
  10. ActualAmount float64 `json:"actual_amount"`
  11. PhoneNumber string `json:"phone_number"`
  12. SupplierName string `json:"supplier_name"`
  13. Name string `json:"name"`
  14. Taskinfo *[]Tasklist `json:"taskinfo"`
  15. WithDrawinfo *Withdrawinfo `json:"withdraw_info"`
  16. SubmitAt string `json:"submit_at"`
  17. AggreeAt string `json:"aggree_at"`
  18. ReajectAt string `json:"reject_at"`
  19. ReajectReason string `json:"reject_reason"`
  20. SupplierId int `json:"supplier_id"`
  21. Avater string `json:"avater"`
  22. }
  23. type Withdrawinfo struct {
  24. Name string `json:"name"`
  25. IdNumber string `json:"id_number"`
  26. BankName string `json:"bank_name"`
  27. BankNumber int `json:"bank_number"`
  28. Phone string `json:"phone"`
  29. }
  30. type SupplierWithdrawListData struct {
  31. WithdrawListinfo []*SupplierWithdrawListResponse `json:"withdraw_list_info"`
  32. Total int64 `json:"total"`
  33. }
  34. func NewGetSupplierWithdrawListRequest() *GetSupplierWithdrawListRequest {
  35. return new(GetSupplierWithdrawListRequest)
  36. }
  37. func NewGetSupplierWithdrawListResponse() *CommonResponse {
  38. resp := new(CommonResponse)
  39. resp.Data = new(SupplierWithdrawListData)
  40. return resp
  41. }