Game-Jaming/Backend/Models/GameData.php

15 lines
269 B
PHP
Raw Normal View History

2021-03-03 10:48:34 +00:00
<?php
2021-03-03 11:56:14 +00:00
namespace Backend\Models;
2021-03-03 10:48:34 +00:00
use Illuminate\Database\Eloquent\Model as Eloquent;
class GameData extends Eloquent
{
protected $fillable = [
'gameLink', 'isWebBased'
];
2021-03-03 11:48:49 +00:00
public function group(){
2021-03-04 10:27:54 +00:00
return $this->hasOne(Group::class);
2021-03-03 11:48:49 +00:00
}
2021-03-03 10:48:34 +00:00
}