<?php

namespace App\Models;

use CodeIgniter\Model;

class UpsellTrackingModel extends Model
{
    // Updated to reference the upsells_processed table
    protected $table      = 'upsells_processed';
    protected $primaryKey = 'id';

    protected $allowedFields = [
        'upsell_tracking_id',
        'deal_id',
        'kit_id',
        'retail',
        'cost',
        'gross_profit',
        'createdat',
        'salesman',
        // Notice that we removed 'special_kit_processed' since upsells_processed does not have that column
    ];
}
