belongsTo(UserVote::class,'id','vote_id'); } public function voteUser(){ return $this->hasMany(UserVote::class,'option_id','id'); } }