5 use Illuminate\Database\Eloquent\Factories\HasFactory;
6 use Illuminate\Database\Eloquent\Model;
8 class Tournament extends Model
12 public function participants() {
13 return $this->hasMany(Participant::class);
16 public function protocols() {
17 return $this->hasMany(Protocol::class);
20 public function rounds() {
21 return $this->hasMany(Round::class);