123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- package models
- type UserInfo struct {
- Id int64 //自增
- Addr string `xorm:"pk"` //主键
- Direct string //我的上级
- DirectNumber int //直推总人数
- IndirectRewards float64 `xorm:"Decimal"` //间推奖励
- Indirect string //上上级
- IndirectNumber int //间推总人数
- DirectRewards float64 `xorm:"Decimal"` //直推奖励
- Superiors string //所有上级
- AvailableClaim float64 `xorm:"Decimal"` //可领取收益
- TotalClaimed float64 `xorm:"Decimal"` //总共已领取的收益
- AvailableReinput float64 `xorm:"Decimal"` //可用复投
- TotalReinputed float64 `xorm:"Decimal"` //总复投
- ParticipateAmount float64 `xorm:"Decimal"` //总参与
- BackNum int64 //本人后11-25领取个数
- BackUsers string //本人后11-25用户id
- State int //身份 0 普通 1 正式 2 社区
- CreateTime string
- Hash string
- }
- type Performance struct {
- Addr string `xorm:"pk"` //主键
- TotalPerformance float64 `xorm:"Decimal"` //团队总业绩
- PerformanceLevel int
- PerformanceRewards float64 `xorm:"Decimal"` //团队收益
- MarketNum int
- MarketLevel int
- MarketRewards float64 `xorm:"Decimal"` //市场收益
- CommunityGift float64 `xorm:"Decimal"` //团队赠送收益
- CommunityNode float64 `xorm:"Decimal"` //社区节点收益
- }
- type BlockInfo struct {
- Id int64 //主键
- BlockNumber int64
- Hash string
- }
- type RewardsPool struct {
- Id int64 //主键
- TeamPerformance float64 `xorm:"Decimal"`
- TeamCultivate float64 `xorm:"Decimal"`
- TotalPool float64 `xorm:"Decimal"`
- }
- type ClaimedTxs struct {
- Id int64 //自增
- Addr string
- Amount float64 `xorm:"Decimal"`
- BlockHeight int64
- Hash string `xorm:"pk"` //主键
- Signature string
- CreateTime string
- State int
- Droped int
- }
|