<?php
namespace App\Models;
use CodeIgniter\Model;

class SubCriterioMetricaModel extends Model
{
    protected $table      = 'tbl_subcriterio_metrica';
    protected $primaryKey = 'id_subcriterio';

    protected $useAutoIncrement = true;

    protected $returnType     = 'array';
    protected $useSoftDeletes = false;

    protected $allowedFields = ['id_subcriterio', 'nombre_subcriterio'];

    protected $useTimestamps = false;
    protected $createdField  = 'created_at';
    protected $updatedField  = 'updated_at';
    protected $deletedField  = 'deleted_at';

    protected $validationRules    = [];
    protected $validationMessages = [];
    protected $skipValidation     = false;

}