nameplate.go 451 Bytes
Newer Older
chenweijian's avatar
chenweijian committed
1 2 3
package res_m

import (
hujiebin's avatar
hujiebin committed
4
	"git.hilo.cn/hilo-common/resource/mysql"
chenweijian's avatar
chenweijian committed
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
	"hilo-user/_const/enum/res_e"
)

type ResNameplate struct {
	mysql.Entity
	Name     string
	Sort     mysql.Num
	PicUrl   string
	SvgaUrl  string
	NoPicUrl *string
	//类型 (0:代表自身就是一种类型 > 0, 一种相关联的类型)
	Type  res_e.ResNameplateType
	Scope res_e.ResNameplateScope
	//限制 (-1, 没有限制)
	Threshold mysql.Num
	I         mysql.Num
}