enum.go 549 Bytes
Newer Older
hujiebin's avatar
hujiebin committed
1 2 3 4 5
package country_e

import "git.hilo.cn/hilo-common/resource/mysql"

// 国家角色
hujiebin's avatar
hujiebin committed
6
type CountryMgrRole uint8
hujiebin's avatar
hujiebin committed
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25

const (
	// 国家管理员
	CountryMgrManager CountryMgrRole = 1
	// 国家助理
	CountryMgrAssistant CountryMgrRole = 2
)

// 角色权限
type ManagerPrivilegeItem mysql.Type

const (
	// 重置用户头像
	ManagerPrivilegeItemResetAvatar ManagerPrivilegeItem = 1
	// 重置群组头像
	ManagerPrivilegeItemResetFaceUrl ManagerPrivilegeItem = 2
	// 删除广播
	ManagerPrivilegeItemDeleteGlobalBroadcast ManagerPrivilegeItem = 3
)