enum.go 1.65 KB
Newer Older
hujiebin's avatar
hujiebin committed
1 2 3
package groupPower_e

//国家势力状态
hujiebin's avatar
hujiebin committed
4
type GroupPowerStatus = uint8
hujiebin's avatar
hujiebin committed
5 6 7 8 9 10 11 12 13 14 15

const (
	//上架
	GroupPowerUserHas GroupPowerStatus = 1
	//未上架
	GroupPowerUserNo GroupPowerStatus = 2
	//解散
	GroupPowerDissolve GroupPowerStatus = 3
)

//国家势力用户角色
hujiebin's avatar
hujiebin committed
16
type GroupPowerUserRole = uint8
hujiebin's avatar
hujiebin committed
17 18 19 20 21 22

const (
	//普通用户
	GroupPowerUserRoleUser GroupPowerUserRole = 1
	//势力主
	GroupPowerUserRoleMgr GroupPowerUserRole = 2
hujiebin's avatar
hujiebin committed
23 24 25 26 27
	//势力管理员
	GroupPowerUserRoleAdmin GroupPowerUserRole = 3
)

//国家势力排行榜类型
hujiebin's avatar
hujiebin committed
28
type GroupPowerRankType = uint8
hujiebin's avatar
hujiebin committed
29 30 31 32 33

const (
	GroupPowerRankTypeFamous GroupPowerRankType = 1
	GroupPowerRankTypeActive GroupPowerRankType = 2
	GroupPowerRankTypeCharm  GroupPowerRankType = 3
hujiebin's avatar
hujiebin committed
34 35 36
)

//国家势力日志操作类型
hujiebin's avatar
hujiebin committed
37
type GroupPowerUserLogType = uint8
hujiebin's avatar
hujiebin committed
38 39 40 41 42 43 44 45 46 47 48 49 50 51

const (
	//加入
	GroupPowerUserLogTypeUserJoin GroupPowerUserLogType = 1
	//用户自己离开
	GroupPowerUserLogTypeUserLeave GroupPowerUserLogType = 2
	//运营平台赋予管理者
	GroupPowerUserLogTypeOwerJoin GroupPowerUserLogType = 3
	//管理人让用户离开
	GroupPowerUserLogTypeMgrLeave GroupPowerUserLogType = 4
	//管理人解散
	GroupPowerUserLogDissolve GroupPowerUserLogType = 5
)

hujiebin's avatar
hujiebin committed
52
type GroupPowerDiamondLogType = uint8
hujiebin's avatar
hujiebin committed
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67

const (
	//群组原因加入
	GroupPowerDiamondLogTypeByGroup GroupPowerDiamondLogType = 1
	//群主原因加入
	GroupPowerDiamondLogTypeByGroupOwer GroupPowerDiamondLogType = 2
)

type PowerSupportAwardState = uint

const (
	PowerSuppportNo      PowerSupportAwardState = 0 // 未达到要求
	PowerSuppportAwarded PowerSupportAwardState = 1 // 已经领取
	PowerSuppportWaiting PowerSupportAwardState = 2 // 待领取
)
hujiebin's avatar
hujiebin committed
68 69 70 71

const (
	LongestNameplate = 15
)