<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class PermissionRole extends Model
{
    protected $table = 'permission_role';

    public $timestamps = false;

    protected $fillable = ['permission_id', 'role_id'];

    public function permission()
    {
        return $this->belongsTo(Permission::class, 'permission_id');
    }
}
