belongsTo(QATest::class,'q_a_test_id')->withTrashed(); } public function user() { return $this->belongsTo(MerchantUsers::class,'merchant_user_id'); } public function answer() { return $this->belongsTo(QAAnswer::class,'q_a_answer_id'); } }