count.go 407 Bytes
Newer Older
hujiebin's avatar
hujiebin committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
package user_m

import (
	"git.hilo.cn/hilo-common/domain"
	"git.hilo.cn/hilo-common/resource/mysql"
	"hilo-group/_const/enum/user_e"
)

//用户统计
type UserCount struct {
	mysql.Entity
	*domain.Model `gorm:"-"`
	UserId        mysql.ID
	Type          user_e.CountType
	Num           mysql.Num
	isAdd         bool      `gorm:"-"`
	isReduce      bool      `gorm:"-"`
	addReduceNum  mysql.Num `gorm:"-"`
}