| 1 | <?php |
||
| 36 | class LogoVote extends Model |
||
| 37 | { |
||
| 38 | use \Venturecraft\Revisionable\RevisionableTrait; |
||
| 39 | protected $table = 'logo_votes'; |
||
| 40 | |||
| 41 | public $timestamps = true; |
||
| 42 | |||
| 43 | protected $fillable = [ |
||
| 44 | 'logo_id', |
||
| 45 | 'user_id', |
||
| 46 | 'up', |
||
| 47 | 'down', |
||
| 48 | ]; |
||
| 49 | |||
| 50 | protected $guarded = []; |
||
| 51 | |||
| 52 | public function user() |
||
| 56 | |||
| 57 | public function logo() |
||
| 61 | } |
||
| 62 |