<?php

namespace common\enums;

class RoleEnum

{
    const ROLE_ADMIN = 0;
    const ROLE_MANAGER = 1;
    const ROME_MEMBER = 2;


    public static $list = [
        self::ROLE_ADMIN => '圈主',
        self::ROLE_MANAGER => '管理员',
        self::ROME_MEMBER => '成员',
    ];

    public static $config = [
        'role_admin' => self::ROLE_ADMIN,
        'role_manager' => self::ROLE_MANAGER,
        'rome_member' => self::ROME_MEMBER,
    ];
}