hasMany(SurveyFeedbackDetail::class); } public function survey() { return $this->belongsTo(Survey::class); } public function customer() { return $this->belongsTo(Customer::class); } public function invoice() { return $this->belongsTo(PosInvoice::class); } }