created Oder Model

This commit is contained in:
2025-04-23 16:29:39 +02:00
parent 995f61632b
commit bd75ace0c6
2 changed files with 54 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Order extends Model
{
// Order Model
protected $table = 'orders';
protected $fillable = [
'user_id',
'items',
'total_price',
'order_status_id'
];
public function filament()
{
return $this->belongsTo(Filament::class);
}
}