Game-Jaming/Backend/Models/GameData.php

15 lines
291 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', "img"
];
public function group(){
return $this->hasOne(Group::class);
}
}