pollthingy/app/PollVote.php

18 lines
282 B
PHP

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class PollVote extends Model
{
protected $primaryKey = null;
public $incrementing = false;
public $timestamps = false;
public function poll()
{
return $this->belongsTo('App\Poll');
}
}