<?php

namespace App\Models;

use CodeIgniter\Model;

class AgendaModel extends Model
{
    protected $table = 'agenda'; // Nama tabel di database
    protected $primaryKey = 'id_agenda'; // Primary key tabel
    protected $returnType     = 'object';
    protected $allowedFields = ['id_admin', 'tema', 'tempat', 'isi', 'tanggal', 'waktu', 'gambar']; // Kolom yang dapat diisi


}