package com.goldenchart.repository;

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

import java.util.List;

@Repository
public interface GcBacktestResultRepository extends JpaRepository<GcBacktestResult, Long> {
    List<GcBacktestResult> findByDeviceIdOrderByCreatedAtDesc(String deviceId);
}
