getsupplierwithdrawlistrequest.go 1.6 KB

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