<?php

namespace App\Models;

use CodeIgniter\Model;

class AnalisisSpasialModel extends Model
{
    protected $table      = 'analisis_spasial';
    protected $primaryKey = 'id_analisis';

    protected $returnType = 'array';

    protected $allowedFields = [
        'nama_wilayah',
        'id_lereng',
        'id_lahan',
        'id_tanah',
        'id_geologi',
        'total_skor',
        'tingkat_kerawanan'
    ];
}