<?php

namespace App\Models;

use CodeIgniter\Model;

class ModelCustomModel extends Model
{
    protected $table            = 'tabel_model';
    protected $primaryKey       = 'kode_model';
    protected $useAutoIncrement = true;
    protected $returnType       = 'object';
    protected $allowedFields    = ['foto_model', 'nama_model', 'ongkos_pengerjaan'];

    protected $useTimestamps = true;
    protected $createdField  = 'created_at';
    protected $updatedField  = 'updated_at';
}
