<?php

namespace Modules\Core\Entities;

use Illuminate\Database\Eloquent\Model;

class Role extends \Spatie\Permission\Models\Role
{
    public $adminFields=[
        'name'=>[
            'type'=>'string',
            'fa_name'=>'نام دسترسی',
            'col'=>6,
            'required'=>true,
            'data'=>[]
        ],
        'permissions'=>[
            'type'=>'custom',
            'fa_name'=>'سطوح دسترسی',
            'col'=>6,
            'required'=>true,
            'data'=>'core::custom.permissionsTree'
        ],
    ];
}
