View file app/Models/VoteAnswer.php
<?php namespace App\Models; /** * Class VoteAnswer * * @property int id * @property int vote_id * @property string answer * @property int result */ class VoteAnswer extends BaseModel { /** * The table associated with the model. * * @var string */ protected $table = 'voteanswer'; /** * Indicates if the model should be timestamped. * * @var bool */ public $timestamps = false; /** * The attributes that aren't mass assignable. * * @var array */ protected $guarded = ['id']; }