MIF_E31220334/app/Models/SubKriteriaModel.php

19 lines
392 B
PHP

<?php
namespace App\Models;
use CodeIgniter\Model;
class SubKriteriaModel extends Model
{
protected $table = 'sub_kriteria';
protected $primaryKey = 'id';
protected $useAutoIncrement = true;
protected $allowedFields = ['kriteria_id', 'nama'];
// Jika kamu ingin mengaktifkan timestamps (opsional, tergantung skema DB-mu)
protected $useTimestamps = false;
}