Configuration / User Model
Getting Started
Tickets & Conversations
Automation & Workflows
Email & Notifications
Modello Utente
Il tuo modello utente deve implementare il contratto Ticketable affinché Escalated possa associare i ticket agli utenti.
use Escalated\Laravel\Contracts\HasTickets;
use Escalated\Laravel\Contracts\Ticketable;
class User extends Authenticatable implements Ticketable
{
use HasFactory, HasTickets, Notifiable;
}
Il trait HasTickets fornisce una relazione tickets() e metodi helper sul modello utente.