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

class PagosMetricaModel extends Model
{
    protected $table      = 'tbl_pagos_metrica';
    protected $primaryKey = 'id_pago';

    protected $useAutoIncrement = true;

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

    protected $allowedFields = ['id_pago', 'id_categoria', 'id_subcriterio', 'pago_above', 'pago_target', 'pago_over'];

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

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

}