group_rank.go 941 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 22
package group_power_cv

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

type CvGroupPowerRankData struct {
	GroupPowerId mysql.ID                     `json:"groupPowerId"` // 家族id
	GroupPic     string                       `json:"groupPic"`     // 家族图片
	Name         string                       `json:"name"`         // 家族名
	Nameplate    string                       `json:"nameplate"`    // 铭牌
	Grade        groupPower_e.GroupPowerGrade `json:"grade"`        // 等级 0:无 1:青铜 2:白银 3:黄金 4:黑金
	Exp          mysql.Num                    `json:"exp"`          // 经验值
	Rank         int                          `json:"rank"`         // 排名
	// todo 铭牌,图片等字段, 等伟健哥哥的结构体
}

type CvGroupPowerRank struct {
	MyGroupPower CvGroupPowerRankData   `json:"myGroupPower"`
	Items        []CvGroupPowerRankData `json:"items"`
}