WithDrawalRecordsRequest.go 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. package http_model
  2. type WithdrawalRecordsRequest struct {
  3. PageSize int32 `json:"page_size"`
  4. PageNum int32 `json:"page_num"`
  5. Status int32 `json:"status"`
  6. SubmitAt string `json:"submit_at"`
  7. WithdrawAt string `json:"withdraw_at"`
  8. TalentId string `json:"talent_id"`
  9. TalentName string `json:"talent_name"`
  10. }
  11. type WithdrawalRecordsData struct {
  12. WithdrawId string `json:"withdraw_id"`
  13. TalentId string `json:"talent_id"`
  14. TalentName string `json:"talent_name"`
  15. WithdrawAmount float32 `json:"withdraw_amount"`
  16. AmountPayable float32 `json:"amount_payable"`
  17. ReceiveInfo string `json:"receive_info"`
  18. BankType int `json:"bank_type"`
  19. Phone string `json:"phone"`
  20. SubmitAt string `json:"submit_at"`
  21. WithdrawAt string `json:"withdraw_at"`
  22. }
  23. type WithdrawalRecordsPreview struct {
  24. WithdrawalRecordsData []*WithdrawalRecordsData `json:"withdrawal_records_data"`
  25. Total int64 `json:"total"`
  26. }
  27. func NewWithdrawalRecordsRequest() *WithdrawalRecordsRequest {
  28. return new(WithdrawalRecordsRequest)
  29. }
  30. func NewWithdrawalRecordsResponse() *CommonResponse {
  31. resp := new(CommonResponse)
  32. resp.Data = new(WithdrawalRecordsPreview)
  33. return resp
  34. }