withdraw.go 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. package model
  2. import (
  3. "go-common/library/time"
  4. )
  5. // UpAccount up account
  6. type UpAccount struct {
  7. ID int64 `json:"id"`
  8. MID int64 `json:"mid"`
  9. HasSignContract int `json:"has_sign_contract"`
  10. State int `json:"state"`
  11. TotalIncome int64 `json:"total_income"`
  12. TotalUnwithdrawIncome int64 `json:"total_unwithdraw_income"`
  13. TotalWithdrawIncome int64 `json:"total_withdraw_income"`
  14. LastWithdrawTime time.Time `json:"last_withdraw_time"`
  15. Version int64 `json:"version"`
  16. IsDeleted int `json:"is_deleted"`
  17. CTime time.Time `json:"ctime"`
  18. MTime time.Time `json:"mtime"`
  19. AllowanceState int `json:"allowance_state"`
  20. Nickname string `json:"nick_name"`
  21. WithdrawDateVersion string `json:"withdraw_date_version"`
  22. }
  23. // UpIncomeWithdraw up income withdraw
  24. type UpIncomeWithdraw struct {
  25. ID int64 `json:"id"`
  26. MID int64 `json:"mid"`
  27. WithdrawIncome int64 `json:"withdraw_income"`
  28. DateVersion string `json:"date_version"`
  29. State int `json:"state"`
  30. IsDeleted int `json:"is_deleted"`
  31. CTime time.Time `json:"ctime"`
  32. MTime time.Time `json:"mtime"`
  33. }
  34. // WithdrawVo withdraw
  35. type WithdrawVo struct {
  36. MID int64 `json:"mid"`
  37. ThirdOrderNo string `json:"third_order_no"`
  38. ThirdCoin float64 `json:"third_coin"`
  39. CTime string `json:"ctime"`
  40. NotifyURL string `json:"notify_url"`
  41. }