<?php

namespace App\Models;

use CodeIgniter\Model;

class UserCustomPermissionModel extends Model
{
    protected $table            = 'user_custom_permissions';
    protected $primaryKey       = 'id';
    protected $useAutoIncrement = true;
    protected $returnType       = 'array';
    protected $useSoftDeletes   = false;
    protected $useTimestamps    = false;

    protected $allowedFields = ['user_id', 'permission_id', 'granted'];
}
