<?php

namespace App\Models;

use CodeIgniter\Model;

class PurchaseItemModel extends Model
{
    protected $table='purchase_items';

    protected $primaryKey='id_purchase_item';

    protected $returnType='array';

    protected $allowedFields=[

        'id_purchase',

        'id_product',

        'qty',

        'harga_beli'

    ];
}