<?php


namespace Mehrab\RolePermission\Models;


class Role extends \Spatie\Permission\Models\Role
{
    const ROLE_SUPER_ADMIN= 'super admin';
    const ROLE_MANAGE_ROLEPERMISSON = 'permissions manager';
    const ROLE_MANAGE_SERVICE = 'service manager';
    const ROLE_STATE_MANAGER = 'state manager';
    const ROLE_MANAGE_USER = 'user manager';
    const ROLE_USER = 'user';
    const ROLE_ACCESS_ALL_ORDER_SERVICE = 'all orders service manager';
    const ROLE_MANAGE_EXPERT = 'expert manager';
    const ROLE_EXPERT = 'expert';
    const ROLE_MANAGE_TEAM_LEADER = 'team leader manager';
    const ROLE_TEAM_LEADER = 'team leader';
    const ROLE_ORDER_SERVICE_OPERATOR = 'order service operator';
    const ROLE_TECHNICAL_ENGINEER = 'technical engineer';
    const ROLE_MANAGE_PAYMENTS = 'payment manager';
    const ROLE_MANAGE_COMMENT = 'comment manager';
    const ROLE_MANAGE_SLIDER = 'slider manager';

    const ROLES = [
        self::ROLE_SUPER_ADMIN =>
            [Permission::PERMISSION_SUPER_ADMIN],
        self::ROLE_MANAGE_SERVICE =>
            [Permission::PERMISSION_MANAGE_SERVICE],
        self::ROLE_MANAGE_ROLEPERMISSON =>
            [Permission::PERMISSION_MANAGE_ROLEPERMISSON],
        self::ROLE_STATE_MANAGER =>
            [Permission::PERMISSION_MANAGE_STATE],
        self::ROLE_MANAGE_USER =>
            [Permission::PERMISSION_MANAGE_USER],
        self::ROLE_USER =>
            [Permission::PERMISSION_USER],
        self::ROLE_ACCESS_ALL_ORDER_SERVICE =>
            [Permission::PERMISSION_ACCESS_ALL_ORDER_SERVICE],
        self::ROLE_MANAGE_EXPERT =>
            [Permission::PERMISSION_MANAGE_EXPERT],
        self::ROLE_EXPERT =>
            [Permission::PERMISSION_EXPERT],
        self::ROLE_MANAGE_TEAM_LEADER =>
            [Permission::PERMISSION_MANAGE_TEAM_LEADER],
        self::ROLE_TEAM_LEADER =>
            [Permission::PERMISSION_TEAM_LEADER],
        self::ROLE_ORDER_SERVICE_OPERATOR =>
            [Permission::PERMISSION_ORDER_SERVICE_OPERATOR],
        self::ROLE_TECHNICAL_ENGINEER =>
            [Permission::PERMISSION_MANAGE_TEAM_LEADER,Permission::PERMISSION_MANAGE_EXPERT],
        self::ROLE_MANAGE_PAYMENTS =>
            [Permission::PERMISSION_MANAGE_PAYMENT],
        self::ROLE_MANAGE_COMMENT =>
            [Permission::PERMISSION_MANAGE_COMMENT],
        self::ROLE_MANAGE_SLIDER =>
        [Permission::PERMISSION_MANAGE_SLIDER],
    ];

}
