<?php

namespace App\Models;

use CodeIgniter\Model;

class SubdealOptionsModel extends Model
{
    protected $table      = 'bbt_subdeal_options';
    protected $primaryKey = 'id';
    protected $returnType = 'array';
    protected $useAutoIncrement = false; // if "id" is manually controlled

    protected $allowedFields = [
        'id',
        'subdeal_id',
        'option_id',
        'qty',
        'option_price',
        'is_installed',
    ];
}
