<?php

namespace App\Models;

use CodeIgniter\Model;

class OrcamentoModel extends Model
{
    protected $DBGroup          = 'default';
    protected $table            = 'orcamento';
    protected $primaryKey       = 'id_orcamento';
    protected $useAutoIncrement = true;
    protected $insertID         = 0;
    protected $returnType       = 'array';
    protected $useSoftDeletes   = true;
    protected $protectFields    = true;
    protected $allowedFields    = [
                                    'id_cliente',
                                    'orc_nome',
                                    'orc_email',
                                    'orc_whats',
                                    'orc_titulo',
                                    'orc_descricao',
                                    'orc_status',
                                  ];
    // Dates
    protected $useTimestamps = false;
    protected $dateFormat    = 'datetime';
    protected $createdField  = 'created_at';
    protected $updatedField  = 'updated_at';
    protected $deletedField  = 'deleted_at';

    

}