<?php


namespace Mehrab\RolePermission\Models;


class Permission extends \Spatie\Permission\Models\Permission
{
    const PERMISSION_SUPER_ADMIN = 'super admin';
    const PERMISSION_MANAGE_ROLEPERMISSON = 'manage RolePermission';
    const PERMISSION_MANAGE_SERVICE = 'manage service';
    const PERMISSION_MANAGE_STATE = 'manage state';
    //    const PERMISSION_MANAGE_CITY = 'manage city';
//    const PERMISSION_MANAGE_REGION = 'manage region';
    const PERMISSION_MANAGE_USER = 'manage users';
    const PERMISSION_USER = 'user';
    const PERMISSION_ACCESS_ALL_ORDER_SERVICE = 'manage all orders service';
    const PERMISSION_MANAGE_EXPERT = 'manage experts';
    const PERMISSION_EXPERT = 'expert';
    const PERMISSION_MANAGE_TEAM_LEADER = 'manage team leaders';
    const PERMISSION_TEAM_LEADER = 'team leader';
    const PERMISSION_ORDER_SERVICE_OPERATOR = 'order service operator';
    const PERMISSION_ORDER_SERVICE_FACTOR = 'order service factor';
    const PERMISSION_MANAGE_PAYMENT = 'manage payment';
    const PERMISSION_MANAGE_COMMENT = 'manage comment';
    const PERMISSION_MANAGE_SLIDER = 'manage slider';


    const PERMISSIONS = [
        self::PERMISSION_SUPER_ADMIN,
        self::PERMISSION_MANAGE_ROLEPERMISSON,
        self::PERMISSION_MANAGE_SERVICE,
        self::PERMISSION_MANAGE_STATE,
//      self::PERMISSION_MANAGE_CITY,
//      self::PERMISSION_MANAGE_REGION,
        self::PERMISSION_ACCESS_ALL_ORDER_SERVICE,
        self::PERMISSION_MANAGE_USER,
        self::PERMISSION_USER,
        self::PERMISSION_MANAGE_EXPERT,
        self::PERMISSION_EXPERT,
        self::PERMISSION_MANAGE_TEAM_LEADER,
        self::PERMISSION_TEAM_LEADER,
        self::PERMISSION_ORDER_SERVICE_OPERATOR,
        self::PERMISSION_ORDER_SERVICE_FACTOR,
        self::PERMISSION_MANAGE_PAYMENT,
        self::PERMISSION_MANAGE_COMMENT,
        self::PERMISSION_MANAGE_SLIDER
    ];
}
