package com.sikey.wa04.business.infrastructure.repository;

import com.sikey.wa04.business.infrastructure.dto.model.MapTrajectoryPoiModel;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

/**
 * @Author: qin
 * @Date: 2025/3/17
 * @Description: 轨迹poi
 */
@Repository
public interface MapTrajectoryPoiRepository extends JpaRepository<MapTrajectoryPoiModel, Integer> {

    Optional<MapTrajectoryPoiModel> findByTrajectoryId(Long trajectoryId);
}
