<?php

namespace App\Models;

use CodeIgniter\Model;

class DataModel extends Model
{
    protected $table      = 'data_bencana';
    protected $primaryKey = 'id_data';

    protected $returnType = 'array';

    protected $allowedFields = [
        'jenis_data',
        'tahun',
        'sumber',
        'keterangan',
        'file_data'
    ];
}