<?php

namespace App\Models;

use CodeIgniter\Model;

class SubdealCustomOptionsModel extends Model
{
    protected $table      = 'bbt_subdeal_custom_options';
    protected $primaryKey = 'id';
    protected $returnType = 'array';
    protected $useAutoIncrement = false; // if "id" is inserted from external source

    protected $allowedFields = [
        'id',
        'subdeal_id',
        'option_name',
        'option_price',
        'qty',
        'taxable',
        'option_cost',
        'is_installed',
        'is_transferred',
    ];
}
