feat(notification): enhance email logging and refactor event handling to use scalar identifiers

This commit is contained in:
2026-08-26 09:38:19 -03:00
parent 28d09dedab
commit d0424c5589
13 changed files with 381 additions and 176 deletions

View File

@@ -2,7 +2,6 @@
namespace App\Domains\Notification\Events;
use App\Domains\Purchase\Models\Purchase;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
@@ -14,7 +13,7 @@ class TicketsAvailable
* @param array<int, int> $ticketIds
*/
public function __construct(
public readonly Purchase $purchase,
public readonly int $purchaseId,
public readonly array $ticketIds,
) {}
}