Game-Jaming/Backend/Models/GameData.php

15 lines
307 B
PHP

<?php
namespace Backend\Models;
use Illuminate\Database\Eloquent\Model as Eloquent;
class GameData extends Eloquent
{
protected $fillable = [
'game_name', 'game_link', 'is_web_Based', 'description' , "img"
];
public function group(){
return $this->hasOne(Group::class);
}
}