Game-Jaming/Backend/Models/hasVoted.php

12 lines
261 B
PHP

<?php
namespace Backend\Models;
use Illuminate\Database\Eloquent\Model as Eloquent;
class hasVoted extends Eloquent{
protected $fillable =[
'ipaddress'
];
public function gameData(){
return $this->belongsTo(GameData::class);
}
}