<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
final class InvoiceItem extends Model {protected $fillable=['invoice_id','sku','name','description','quantity','unit_amount_minor','tax_amount_minor','discount_amount_minor','currency','metadata'];protected function casts():array{return ['metadata'=>'array'];}public function invoice(){return $this->belongsTo(Invoice::class);}}