<?php

namespace App\Models;

use CodeIgniter\Model;

class WilayahModel extends Model
{
    protected $table = 'wilayah';

    protected $primaryKey = 'id_wilayah';

    protected $returnType = 'array';

    protected $allowedFields = [
        'nama_desa',
        'total_penduduk',
        'luas_daerah',
        'persentase_luas',
        'latitude',
        'longitude',
        'icon_marker',
        'keterangan'
    ];
}