feat: automate guest notification triggers

This commit is contained in:
Codex Agent
2025-11-12 18:46:00 +01:00
parent 4495ac1895
commit 642541c8fb
9 changed files with 416 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<?php
namespace App\Events;
use App\Models\Event;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class GuestPhotoUploaded
{
use Dispatchable;
use InteractsWithSockets;
use SerializesModels;
public function __construct(
public Event $event,
public int $photoId,
public string $guestIdentifier,
public ?string $guestName = null,
) {}
}