This commit is contained in:
Lizandro Guarnizo
2026-04-24 21:40:10 -05:00
parent 877a0d393a
commit 148fa6b9f9
36 changed files with 3037 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class WhatsappMenuOption extends Model
{
protected $table = 'whatsapp_menu_options';
public $timestamps = false;
protected $fillable = [
'menu_id', 'option_number', 'title', 'action_type', 'action_value',
'is_active', 'sort_order',
];
protected $casts = [
'is_active' => 'boolean',
];
public function menu()
{
return $this->belongsTo(WhatsappMenu::class, 'menu_id');
}
}