dbfdg hasOne('App\Models\User', 'id', 'user'); } public function coupon_detail() { return $this->hasOne('App\Models\Coupon', 'id', 'coupon'); } }