hasOne(Users::class,'id','uid'); } public function admins(){ return $this->hasOne(Users::class,'id','admin'); } }