Add initial Code

This commit is contained in:
2025-10-20 08:57:51 +02:00
parent d204098d8e
commit 9da301c4f1
447 changed files with 34393 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
class LineItem extends Model
{
use HasFactory;
protected $fillable = [
'invoice_id',
'position',
'title',
'description',
'quantity',
'unit',
'price',
];
public function invoice()
{
return $this->belongsTo(Invoice::class);
}
}