package com.goldenchart.repository;

import com.goldenchart.entity.GcAppSettings;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface GcAppSettingsRepository extends JpaRepository<GcAppSettings, Long> {

    Optional<GcAppSettings> findByDeviceId(String deviceId);

    Optional<GcAppSettings> findByUserId(Long userId);
}
