added chart for displaying health metrix

This commit is contained in:
ghassan committed 2026-01-24 12:40:01 +03:00
1 parent a325919cd0
commit 87051e179d
22 files changed
+1383 -63

No files matched your search

+16
View File
@@ -226,6 +226,22 @@ class User extends Authenticatable
return $this->hasMany(HealthRecord::class);
}
/**
* Get the tournament events for the user.
*/
public function tournamentEvents(): HasMany
{
return $this->hasMany(TournamentEvent::class);
}
/**
* Get the goals for the user.
*/
public function goals(): HasMany
{
return $this->hasMany(Goal::class);
}
/**
* Send the email verification notification.
* Override to prevent sending the default Laravel notification.