added affiliation tab card with its information

This commit is contained in:
ghassan committed 2026-01-24 14:52:55 +03:00
1 parent 352d54a788
commit c1fc28087e
14 files changed
+1493 -47

No files matched your search

+6
View File
@@ -10,6 +10,7 @@ class TournamentEvent extends Model
{
protected $fillable = [
'user_id',
'club_affiliation_id',
'title',
'type',
'sport',
@@ -29,6 +30,11 @@ class TournamentEvent extends Model
return $this->belongsTo(User::class);
}
public function clubAffiliation(): BelongsTo
{
return $this->belongsTo(ClubAffiliation::class);
}
public function performanceResults(): HasMany
{
return $this->hasMany(PerformanceResult::class);