<?php

namespace App\Models;

use CodeIgniter\Model;

class ClientModel extends Model
{
    protected $table = 'clients';
    protected $primaryKey = 'id';
    protected $returnType = 'array';
    protected $useAutoIncrement = true;
    protected $protectFields = true;
    protected $allowedFields = [
        'nombre', 'contrato', 'direccion',
        'contacto_nombre', 'contacto_email', 'contacto_telefono',
        'notas',
    ];
    protected $useTimestamps = true;
}
