Game-Jaming/Backend/Models/GameData.php

15 lines
307 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-08 13:52:34 +00:00
'game_name', 'game_link', 'is_web_Based', 'description' , "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
}