feat(desfile): add administrative entry reservations

This commit is contained in:
2026-09-24 09:34:50 -03:00
parent 884da2c89a
commit 9e9af70ba8
7 changed files with 509 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace App\Domains\Ticketing\Desfile\Resources;
use Illuminate\Http\Request;
use Illuminate\Http\Resources\Json\JsonResource;
class EntryReservationResource extends JsonResource
{
public function toArray(Request $request): array
{
return [
'id' => $this->id,
'variant_id' => $this->variant_id,
'ticket_id' => $this->ticket_id,
'fecha_reserva' => $this->fecha_reserva->toIso8601String(),
'tipo_pago' => $this->tipo_pago->value,
'importe' => $this->importe,
];
}
}