phase 8 and 9

This commit is contained in:
Stefanescu Mihai
2026-03-19 18:42:19 +02:00
parent d75cabfeec
commit 82ebb697f3
94 changed files with 4498 additions and 749 deletions
+32
View File
@@ -0,0 +1,32 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class Funnel extends Model
{
use HasFactory;
protected $fillable = [
'website_id',
'name',
'steps',
'is_active',
];
protected function casts(): array
{
return [
'steps' => 'array',
'is_active' => 'boolean',
];
}
public function website(): BelongsTo
{
return $this->belongsTo(Website::class);
}
}