<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class RolePermission extends Model
{
    protected $table = 'role_permissions';

    protected $fillable = [
        'role_id',
        'module',
        'permission',
        'is_allowed',
        'created_by',
        'updated_by',
    ];

    protected $casts = [
        'is_allowed' => 'boolean',
    ];
}
