<?php

namespace App\Models;

use CodeIgniter\Model;

class EvuptContatoModel extends Model
{
    protected $DBGroup          = 'default';
    protected $table            = 'evupt_contato';
    protected $primaryKey       = 'id_contato';
    protected $useAutoIncrement = true;
    protected $insertID         = 0;
    protected $returnType       = 'array';
    protected $useSoftDeletes   = true;
    protected $protectFields    = true;
    protected $allowedFields    = [
                                    'id_disparador',
                                    'con_nome',
                                    'con_whats',
                                    'con_email',
                                    'con_relatorio',
                                    'con_status',
                                  ];
    // Dates
    protected $useTimestamps = false;
    protected $dateFormat    = 'datetime';
    protected $createdField  = 'created_at';
    protected $updatedField  = 'updated_at';
    protected $deletedField  = 'deleted_at';

    

}