hasMany(MerchantAdminLinks::class, 'admin_id', 'id'); } public function user() { return $this->hasOne(User::class, 'mobile', 'mobile'); } }