<?php

namespace App\Models;

use CodeIgniter\Model;

class InvoiceLineModel extends Model
{
    protected $table = 'invoice_lines';
    protected $primaryKey = 'id';
    protected $allowedFields = [
        'invoice_id', 'line_type', 'sort_order', 'designation', 'quantity',
        'unit', 'unit_price', 'amount', 'is_taxable', 'notes'
    ];
    protected $returnType = 'array';
    protected $useTimestamps = true;
}
