package kz.konturai.parser.repository;

import kz.konturai.parser.model.MarketingAnalysisV3Document;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MarketingAnalysisV3Repository extends MongoRepository<MarketingAnalysisV3Document, String> {
    List<MarketingAnalysisV3Document> findAllByUserIdOrderByCreatedAtDesc(String userId);
}