hasOne(User::class,'id','user_id'); } public function accept() { return $this->hasOne(User::class,'id','accept_id'); } }