<?php

namespace App\Models;

use CodeIgniter\Model;

class KeuanganModel extends Model
{
    protected $table            = 'keuangan'; // Tanpa 's'
    protected $primaryKey       = 'id_kas';
    protected $useAutoIncrement = true;

    protected $allowedFields    = [
        'tanggal',
        'keterangan',
        'jenis',
        'kategori',
        'nominal',
        'saldo_akhir',
        'id_referensi_transaksi'
    ];
}
