feat: Add scanner user association to tickets; update Ticket model, resource, migration, and tests

This commit is contained in:
2026-08-05 09:17:09 -03:00
parent 2a15dc92be
commit e17d1fa15e
4 changed files with 39 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ class TicketResource extends JsonResource
'starts_at' => $this->getEffectiveStartsAt(),
'expires_at' => $this->getEffectiveExpiresAt(),
'used_at' => $this->used_at,
'scanner_user_id' => $this->scanner_user_id,
'is_valid' => $this->is_valid,
'is_expired' => $this->is_expired,
'is_used' => $this->is_used,