generated from root/miduo_server
25 lines
764 B
Go
25 lines
764 B
Go
package gameinfo
|
|
|
|
import (
|
|
"github.com/gogf/gf/frame/g"
|
|
dao "gmanager/library/mongo"
|
|
"go.mongodb.org/mongo-driver/bson/primitive"
|
|
)
|
|
|
|
type M5User struct {
|
|
Id primitive.ObjectID `bson:"_id" json:"id"`
|
|
CreatDay string `bson:"creatday" json:"creatday"`
|
|
NewUser int `bson:"newuser" json:"newuser"`
|
|
Day int `bson:"day" json:"day"`
|
|
DayCount int `bson:"daycount" json:"daycount"`
|
|
LogTime string `bson:"logTime" json:"logTime"`
|
|
}
|
|
|
|
var (
|
|
// Table is the table name of account.
|
|
TableM5User = "user"
|
|
// Model is the model object of account.
|
|
M5UserTablbeName = g.Config().GetString("db.prefix")
|
|
ModelM5User= dao.NewMgo(M5UserTablbeName, TableM5User)
|
|
)
|