<?php

namespace App\Models;

use CodeIgniter\Model;

class AdminPermissionModel extends Model
{
    protected $table            = 'admin_permissions';
    protected $primaryKey       = ['admin_id', 'permission_id'];
    protected $useAutoIncrement = false;
    protected $returnType       = 'array';

    protected $allowedFields    = ['admin_id', 'permission_id', 'allow'];

    protected $useTimestamps    = false;
}