<?php

namespace App\Models;

use CodeIgniter\Model;

class EvuptDisparadorModel extends Model
{
    protected $DBGroup          = 'default';
    protected $table            = 'evupt_disparador';
    protected $primaryKey       = 'id_disparador';
    protected $useAutoIncrement = true;
    protected $insertID         = 0;
    protected $returnType       = 'array';
    protected $useSoftDeletes   = true;
    protected $protectFields    = true;
    protected $allowedFields    = [
                                    'dis_nome',
                                    'dis_email',
                                    'dis_reply',
                                    'dis_senha',
                                    'dis_secure',
                                    'dis_smtp',
                                    'dis_porta',
                                    'dis_boturl',
                                    'dis_botauth',
                                    'dis_bothash',
                                  ];
    // Dates
    protected $useTimestamps = false;
    protected $dateFormat    = 'datetime';
    protected $createdField  = 'created_at';
    protected $updatedField  = 'updated_at';
    protected $deletedField  = 'deleted_at';

    

}