<?php

namespace App\Core\Pages\Models;

use CodeIgniter\Model;

class PageWidgetModel extends Model
{
    protected $table = 'core_page_widgets';
    protected $primaryKey = 'id';
    protected $returnType = 'array';
    protected $useTimestamps = true;
    protected $allowedFields = ['page_id', 'widget_type', 'title', 'position', 'config_json'];
}
