<?php

namespace App\Models;

use CodeIgniter\Model;

class LearningDevicePekanEfektifModel extends Model
{
    protected $table            = 'learning_device_pekan_efektif';
    protected $primaryKey       = 'id';
    protected $useAutoIncrement = true;
    protected $returnType       = 'array';
    protected $useSoftDeletes   = false;
    protected $protectFields    = true;
    protected $allowedFields    = ['learning_device_id', 'content_json'];

    // Dates
    protected $useTimestamps = true;
    protected $dateFormat    = 'datetime';
    protected $createdField  = 'created_at';
    protected $updatedField  = 'updated_at';
}
