<?php

namespace App\Models;

use CodeIgniter\Model;

class ProductBomModel extends Model
{
    protected $table = 'product_bom';

    protected $primaryKey = 'id_bom';

    protected $returnType = 'array';

    protected $allowedFields = [

        'id_product',

        'material_name',

        'specification',

        'qty',

        'unit',

        'price',

        'subtotal'

    ];

    protected $useTimestamps = false;
}