cp.go 606 Bytes
Newer Older
hujiebin's avatar
hujiebin committed
1 2
package cp_cv

hujiebin's avatar
hujiebin committed
3 4
import "hilo-user/cv/user_cv"

hujiebin's avatar
hujiebin committed
5 6
// cp信息
type CvCp struct {
hujiebin's avatar
hujiebin committed
7 8 9
	CpUserInfo      *user_cv.CvUserBase `json:"cpUserInfo"`      // cp用户信息
	CpLevel         CvCpLevel           `json:"cpLevel"`         // cp等级
	MyPrivilegeList []CvPrivilege       `json:"myPrivilegeList"` // 等级特权
10 11
	CreatedUnix     int64               `json:"createdUnix"`     // cp创建时间
	CpDays          int                 `json:"cpDays"`          // cp天数
hujiebin's avatar
hujiebin committed
12
}
hujiebin's avatar
hujiebin committed
13 14 15 16 17 18 19

// cp关系
type CvCpRelation struct {
	CpId     uint64 `json:"cpId"`
	UserId   uint64 `json:"userId"`
	CpUserId uint64 `json:"cpUserId"`
}