<?php

namespace App\Models;

use CodeIgniter\Model;

class ClienteDetalheModel extends Model
{
    protected $DBGroup          = 'default';
    protected $table            = 'cliente_detalhe';
    protected $primaryKey       = 'id_clientedetalhe';
    protected $useAutoIncrement = true;
    protected $insertID         = 0;
    protected $returnType       = 'array';
    protected $useSoftDeletes   = true;
    protected $protectFields    = true;
    protected $allowedFields    = [
                                    'id_cliente',
                                    'clidet_atributo',
                                    'clidet_descricao',
                                    'clidet_publico',
                                  ];

    // Dates
    protected $useTimestamps = false;
    protected $dateFormat    = 'datetime';
    protected $createdField  = 'created_at';
    protected $updatedField  = 'updated_at';
    protected $deletedField  = 'deleted_at';


}
