getinvoicelistrequest.go 902 B

12345678910111213141516171819202122232425262728293031323334
  1. package http_model
  2. import "time"
  3. type GetInvoiceListRequest struct {
  4. PageSize int `json:"page_size"`
  5. PageNum int `json:"page_num"`
  6. Status int `json:"status"`
  7. }
  8. type InvoiceListResponse struct {
  9. BillingID string `json:"billing_id"`
  10. InvoiceAmount float64 `json:"invoice_amount"`
  11. Operator string `json:"operator"`
  12. SubmitAt time.Time `json:"submit_at"`
  13. AgreeAt time.Time `json:"agree_at"`
  14. TaskNumber int `json:"task_number"`
  15. InvoiceType int64 `json:"invoice_type"`
  16. }
  17. type InvoiceListData struct {
  18. InvoiceListinfo []*InvoiceListResponse `json:"invoice_list_info"`
  19. Total int64 `json:"total"`
  20. }
  21. func NewGetInvoiceListRequest() *GetInvoiceListRequest {
  22. return new(GetInvoiceListRequest)
  23. }
  24. func NewGetInvoiceListResponse() *CommonResponse {
  25. resp := new(CommonResponse)
  26. resp.Data = new(InvoiceListData)
  27. return resp
  28. }