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-08 13:20:56 +00:00
|
|
|
'game_name', 'game_link', 'is_web_Based', "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
|
|
|
}
|