package com.bytesw.bytebot.repository;

import com.bytesw.bytebot.model.Cost;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface CostRepository extends JpaRepository<Cost, Long>, JpaSpecificationExecutor<Cost> {
    List<Cost> findAllByFlight_Id(Long id);
}
