package com.goldenchart.repository;

import com.goldenchart.entity.GcBacktestSettings;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface GcBacktestSettingsRepository extends JpaRepository<GcBacktestSettings, Long> {
    Optional<GcBacktestSettings> findFirstByDeviceIdOrderByUpdatedAtDesc(String deviceId);
}
