Model update

This commit is contained in:
2021-03-04 10:19:58 +01:00
parent d27996542f
commit f33fdf95a3
6 changed files with 26 additions and 2 deletions
+13
View File
@@ -6,4 +6,17 @@ class Group extends Eloquent
protected $fillable = [
'groupName', 'groupAmount', 'votes'
];
public function gameJam(){
return $this->hasOne(GameJam::class);
}
public function keyWord(){
return $this->hasMany(KeyWord::class);
}
public function gameData(){
return $this->hasOne(GameData::class);
}
public function pasword(){
return $this->hasOne(Password::class);
}
}