WithDrawalRecordsRequest.go 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. TalentId string `json:"talent_id"`
  13. TalentName string `json:"talent_name"`
  14. WithdrawAmount float32 `json:"withdraw_amount"`
  15. AmountPayable float32 `json:"amount_payable"`
  16. ReceiveInfo string `json:"receive_info"`
  17. Phone string `json:"phone"`
  18. SubmitAt string `json:"submit_at"`
  19. WithdrawAt string `json:"withdraw_at"`
  20. }
  21. type WithdrawalRecordsPreview struct {
  22. WithdrawalRecordsData []*WithdrawalRecordsData `json:"withdrawal_records_data"`
  23. Total int64 `json:"total"`
  24. }
  25. func NewWithdrawalRecordsRequest() *WithdrawalRecordsRequest {
  26. return new(WithdrawalRecordsRequest)
  27. }
  28. func NewWithdrawalRecordsResponse() *CommonResponse {
  29. resp := new(CommonResponse)
  30. resp.Data = new(WithdrawalRecordsPreview)
  31. return resp
  32. }