<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Attributes\Fillable;
use Illuminate\Database\Eloquent\Model;

#[Fillable(['role', 'permission', 'allowed'])]
class RolePermission extends Model
{
    protected function casts(): array
    {
        return ['allowed' => 'boolean'];
    }
}
