<?php

namespace App\Models;

use CodeIgniter\Model;

class GalleryModel extends Model
{
    protected $table = 'galeri'; // Nama tabel di database
    protected $primaryKey = 'id_galeri'; // Primary key tabel
    protected $returnType     = 'object';
    protected $allowedFields = ['id_admin', 'judul', 'keterangan', 'gambar']; // Kolom yang dapat diisi


}