added affiliation tab card with its information
This commit is contained in:
1 parent
352d54a788
commit
c1fc28087e
14 files changed
+1493
-47
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user