feat(tickets): enhance ticket search functionality and add ticket counts to response

This commit is contained in:
2026-08-28 15:14:11 -03:00
parent 208e929262
commit 4ba464bf85
5 changed files with 85 additions and 26 deletions

View File

@@ -0,0 +1,16 @@
<?php
namespace App\Domains\Ticket\Services;
use App\Domains\Ticket\Models\Ticket;
use Illuminate\Pagination\LengthAwarePaginator;
final readonly class AdminAppTicketResult
{
/** @param LengthAwarePaginator<Ticket> $tickets */
public function __construct(
public LengthAwarePaginator $tickets,
public int $scannedTickets,
public int $totalTickets,
) {}
}