<?php

namespace App\Models;

use CodeIgniter\Model;

class InvoiceItemModel extends Model
{
    protected $table = "invoice_items";
    protected $primaryKey = "id";
    protected $returnType = "array";
    protected $allowedFields = [
        "invoice_id",
        "item_name",
        "description",
        "quantity",
        "price",
        "line_total",
        "sort_order",
    ];
    protected $useTimestamps = true;
}
