count.go 407 Bytes
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:"-"`
}