return $runners;
}
+ public function hasScoreboard() {
+ return $this->type == 'signup-async';
+ }
+
public function updatePlacement() {
$runners = [];
foreach ($this->participants as $p) {
}
+ public function applications() {
+ return $this->hasMany(Application::class);
+ }
+
public function participants() {
return $this->hasMany(Participant::class);
}
return $this->hasMany(Round::class)->orderBy('number', 'DESC');
}
+
+ protected $casts = [
+ 'accept_applications' => 'boolean',
+ 'locked' => 'boolean',
+ 'no_record' => 'boolean',
+ ];
+
}