'datetime', ]; public function getJWTIdentifier() { return $this->getKey(); } public function getJWTCustomClaims() { return []; } public function role() { return $this->belongsTo(Role::class); } public function workshops() { return $this->belongsToMany(Workshop::class, 'user_workshop')->withTimestamps(); } }