InvoiceRecordsRequest.go 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. package http_model
  2. type InvoiceRecordsRequest struct {
  3. PageSize int32 `json:"page_size"`
  4. PageNum int32 `json:"page_num"`
  5. InvoiceStatus int32 `json:"invoice_status"`
  6. SubmitAt string `json:"submit_at"`
  7. BusinessName string `json:"business_name"`
  8. Username string `json:"username"`
  9. UserId int64 `json:"user_id"`
  10. BillingAt string `json:"billing_at"`
  11. }
  12. type InvoiceRecordsPreviews struct {
  13. BillingId string `json:"billing_id"`
  14. UserId string `json:"user_id"`
  15. Username string `json:"username"`
  16. BusinessName string `json:"business_name"`
  17. Amount float64 `json:"amount"`
  18. InvoiceType string `json:"invoice_type"`
  19. InvoiceInfo string `json:"invoice_info"`
  20. InvoiceAddress string `json:"invoice_address"`
  21. AddressInfo string `json:"address_info"`
  22. ShipmentNumber string `json:"shipment_number"` // 物流单号
  23. Phone string `json:"phone"`
  24. SubmitAt string `json:"submit_at"`
  25. BillingAt string `json:"billing_at"`
  26. }
  27. type InvoiceRecordsData struct {
  28. InvoiceRecordsPreviews []*InvoiceRecordsPreviews `json:"invoice_records_previews"`
  29. Total string `json:"total"`
  30. }
  31. func NewInvoiceRecordsRequest() *InvoiceRecordsRequest {
  32. return new(InvoiceRecordsRequest)
  33. }
  34. func NewInvoiceRecordsResponse() *CommonResponse {
  35. resp := new(CommonResponse)
  36. resp.Data = new(InvoiceRecordsData)
  37. return resp
  38. }