<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Permission extends Model
{
    protected $fillable = [
        'name'
    ];

    public function role()
    {
        return $this->belongsToMany('App\Models\Role', 'permission_role');
    }
}
