model.go 1009 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. package model
  2. // TradeOrder .
  3. type TradeOrder struct {
  4. OrderID string `json:"order_id"`
  5. MID int64 `json:"mid"`
  6. Biz string `json:"biz"`
  7. Platform string `json:"platform"`
  8. OID int64 `json:"oid"`
  9. OType string `json:"otype"`
  10. Fee int64 `json:"fee"`
  11. Currency string `json:"currency"`
  12. PayID string `json:"pay_id"`
  13. State string `json:"state"`
  14. Reason string `json:"reason"`
  15. }
  16. // IncomeAssetOverview .
  17. type IncomeAssetOverview struct {
  18. Total int64
  19. TotalBuyTimes int64
  20. MonthNew int64
  21. DayNew int64
  22. }
  23. // IncomeAssetMonthly .
  24. type IncomeAssetMonthly struct {
  25. List []*IncomeAssetMonthlyByContent
  26. Page *Page
  27. }
  28. // IncomeAssetMonthlyByContent .
  29. type IncomeAssetMonthlyByContent struct {
  30. OID int64
  31. OType string
  32. Currency string
  33. Title string
  34. Price int64
  35. TotalBuyTimes int64
  36. NewBuyTimes int64
  37. TotalErrTimes int64
  38. NewErrTimes int64
  39. }
  40. // Page .
  41. type Page struct {
  42. Num int64
  43. Size int64
  44. Total int64
  45. }