| 12345678910111213141516171819202122232425262728 |
- package gameinfo
- import (
- "github.com/gogf/gf/frame/g"
- dao "gmanager/library/mongo"
- "go.mongodb.org/mongo-driver/bson/primitive"
- )
- type StatisticalRecharge struct {
- Id primitive.ObjectID `bson:"_id" json:"id"`
- CreatDay string `bson:"creatday" json:"creatday"`
- NewRechargeNum int `bson:"new_recharge_num" json:"newrechargenum"` //新增充值人数
- NewRechargeAmount float64 `bson:"new_recharge_amount" json:"newrechargeamount"` //新增充值总额
- NewRechargeCount int `bson:"new_recharge_count" json:"newrechargecount"` //新增充值次数
- RechargeNum int `bson:"recharge_num" json:"rechargenum"` //充值人数
- RechargeAmount float64 `bson:"recharge_amount" json:"rechargeamount"` //充值总额
- RechargeCount int `bson:"recharge_count" json:"rechargecount"` //充值次数
- //TodayNewCumulativeRechargeNum int `bson:"today_new_cumulative_recharge_num" json:"todaynewcumulativerechargenum"` //当日新增玩家累计付费人数
- //TodayNewCumulativeRechargeAmount float64 `bson:"today_new_cumulative_recharge_amount" json:"todaynewcumulativerechargeamount"` //当日新增玩家累计付费金额
- //TodayNewCumulativeRechargeCount int `bson:"today_new_cumulative_recharge_count" json:"todaynewcumulativerechargecount"` //当日新增玩家累计付费次数
- }
- var (
- TableStatisticalRecharge = "statistical_recharge"
- StatisticalRechargeTablbeName = g.Config().GetString("db.login")
- ModelStatisticalRecharge = dao.NewMgo(StatisticalRechargeTablbeName, TableStatisticalRecharge)
- )
|