return $this->belongsTo(Participant::class);
}
+ public function getHasFinishedAttribute() {
+ return $this->time > 0 || $this->forfeit;
+ }
+
+ protected $appends = [
+ 'has_finished',
+ ];
+
protected $fillable = [
+ 'forfeit',
'round_id',
'time',
'user_id',