X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FModels%2FTournament.php;fp=app%2FModels%2FTournament.php;h=a19e179ccaaeede4d127390ce831c34a1f0f5ae6;hb=55f2d7cd6c290a0d26db177d54d20c393f890bbb;hp=0000000000000000000000000000000000000000;hpb=f642f1eda2a68ad5e09b71ccdae1499bc9d31e4f;p=alttp.git diff --git a/app/Models/Tournament.php b/app/Models/Tournament.php new file mode 100644 index 0000000..a19e179 --- /dev/null +++ b/app/Models/Tournament.php @@ -0,0 +1,24 @@ +hasMany(Participant::class); + } + + public function protocols() { + return $this->hasMany(Protocol::class); + } + + public function rounds() { + return $this->hasMany(Round::class); + } + +}