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