<?php

namespace App\Models\SM;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class FnctionPermission extends Model
{
    use HasFactory;

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

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