pollthingy/app/PollVote.php

16 lines
214 B
PHP
Raw Normal View History

2018-10-16 03:23:19 +02:00
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class PollVote extends Model
{
public $timestamps = false;
public function poll()
{
return $this->belongsTo('App\Poll');
}
}