Game-Jaming/Backend/Models/Vote.php

19 lines
271 B
PHP
Raw Normal View History

2021-03-05 12:00:07 +00:00
<?php
namespace Backend\Models;
use Illuminate\Database\Eloquent\Model as Eloquent;
class Vote extends Eloquent
{
protected $fillable = [
'points', 'comment'
];
public function group()
{
return $this->belongsTo(Group::class);
}
}