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