<?php
namespace App\Models;
use CodeIgniter\Model;

class PengaduanModel extends Model
{
    protected $table            = 'pengaduan';
    protected $primaryKey       = 'id_pengaduan';
    protected $useAutoIncrement = false; 
    protected $allowedFields    = [
        'id_pengaduan', 'kategori_id', 'is_anonim', 'nama', 'no_hp',
        'alamat', 'judul', 'detail_laporan', 'lokasi', 'tanggal',
        'lampiran', 'komisi_id', 'status_id', 'created_at'
    ];
}