<?php

namespace App\Models;

use CodeIgniter\Model;

class OrderItemModel extends Model
{
    protected $table            = 'order_items';
    protected $primaryKey       = 'id';
    protected $useAutoIncrement = true;
    protected $returnType       = 'object';
    protected $allowedFields    = ['order_id', 'inventory_id', 'quantity', 'unit_price', 'created_at'];
    protected $useTimestamps    = false;
}
