<?php

namespace App\Models;

use CodeIgniter\Model;

class InventoryModel extends Model
{
    protected $table            = 'inventory';
    protected $primaryKey       = 'id';
    protected $useAutoIncrement = true;
    protected $returnType       = 'object';
    protected $allowedFields    = ['provider_id', 'item_type', 'category_id', 'item_name', 'price', 'price_kit', 'stock_count', 'image_url', 'created_at', 'updated_at'];
    protected $useTimestamps   = true;
}
