]> git.localhorst.tv Git - alttp.git/blobdiff - app/Models/Round.php
lock tournaments
[alttp.git] / app / Models / Round.php
index 942069255c74cff24f6fa55cd8d3ccd7f208056b..71a4273dc9435b21c609341082fe3c52d99efd33 100644 (file)
@@ -17,4 +17,14 @@ class Round extends Model
                return $this->belongsTo(Tournament::class);
        }
 
+       protected $casts = [
+               'code' => 'array',
+               'locked' => 'boolean',
+       ];
+
+       protected $fillable = [
+               'number',
+               'tournament_id',
+       ];
+
 }