<?php

namespace App\Models;

use CodeIgniter\Model;

class PupukModel extends Model
{
    protected $table            = 'pupuk'; // Tanpa 's'
    protected $primaryKey       = 'id_pupuk';
    protected $useAutoIncrement = true;

    protected $allowedFields    = [
        'kode_pupuk',
        'nama_pupuk',
        'harga_het',
        'stok_global'
    ];
}
