bean.go 448 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 20 21
package bean_m

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

//豆子账号
type BeanAccount struct {
	mysql.Entity
	*domain.Model `gorm:"-"`
	UserId        mysql.ID
	BeanNum       mysql.Num
	Status        bean_e.StatusAccount
	GoldNum       mysql.Num
	//
	addReduce mysql.AddReduce `gorm:"-"`
	updateNum mysql.Num       `gorm:"-"`
	giftType  mysql.Type      `gorm:"-"`
}