nameplate.go 437 Bytes
Newer Older
chenweijian's avatar
chenweijian committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
package res_m

import (
	"hilo-user/_const/enum/res_e"
	"hilo-user/resource/mysql"
)

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
}