aggr.go 759 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. package model
  2. import (
  3. "time"
  4. )
  5. // AggrIncomeUser .
  6. type AggrIncomeUser struct {
  7. ID int64
  8. MID int64
  9. Currency string
  10. PaySuccess int64
  11. PayError int64
  12. TotalIn int64
  13. TotalOut int64
  14. CTime time.Time
  15. MTime time.Time
  16. }
  17. // AggrIncomeUserAsset .
  18. type AggrIncomeUserAsset struct {
  19. ID int64
  20. MID int64
  21. Currency string
  22. Ver int64
  23. OID int64
  24. OType string
  25. PaySuccess int64
  26. PayError int64
  27. TotalIn int64
  28. TotalOut int64
  29. CTime time.Time
  30. MTime time.Time
  31. }
  32. // AggrIncomeUserAssetList .
  33. type AggrIncomeUserAssetList struct {
  34. MID int64
  35. Ver int64
  36. Assets []*AggrIncomeUserAsset
  37. Page *Page
  38. }
  39. // Page .
  40. type Page struct {
  41. Num int64
  42. Size int64
  43. Total int64
  44. }