<?php

namespace App\Models\Deals;

use CodeIgniter\Model;

class DealsModel extends Model
{
    protected $table      = 't_deals';
    protected $primaryKey = 'PK_Deal';

    protected $allowedFields = [
        'Deal_Name',
        'Amount',
        'Stage',
        'Pipeline',
        'Close_Date',
        'Created_at'
    ];

    protected $useTimestamps = false;
    protected $returnType    = 'array';
}
