<?php

namespace App\Models;

use CodeIgniter\Model;

class EvuptTemplateModel extends Model
{
    protected $DBGroup          = 'default';
    protected $table            = 'evupt_template';
    protected $primaryKey       = 'id_template';
    protected $useAutoIncrement = true;
    protected $insertID         = 0;
    protected $returnType       = 'array';
    protected $useSoftDeletes   = true;
    protected $protectFields    = true;
    protected $allowedFields    = [
                                    'id_disparador',
                                    'tem_prazo',
                                    'tem_titulo',
                                    'tem_corpo',
                                    'tem_status',
                                  ];
    // Dates
    protected $useTimestamps = false;
    protected $dateFormat    = 'datetime';
    protected $createdField  = 'created_at';
    protected $updatedField  = 'updated_at';
    protected $deletedField  = 'deleted_at';

    

}