'integer', 'helpful_count' => 'integer', 'is_edited' => 'boolean', ]; public function divingOffer() { return $this->belongsTo(DivingOffer::class); } public function member() { return $this->belongsTo(User::class, 'member_id'); } public function edit() { return $this->hasOne(ReviewEdit::class); } public function votes() { return $this->hasMany(ReviewVote::class); } }