hasOne(User::class, 'uid', 'uid'); } public function bill() { return $this->hasOne(UserBill::class, 'bill_id', 'link_id'); } }