Game-Jaming/Backend/Models/GameData.php

15 lines
276 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 = [
2021-03-05 12:00:07 +00:00
'gameLink', 'isWebBased', "img"
2021-03-03 10:48:34 +00:00
];
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
}