package com.toyshop.repository;

import com.toyshop.entity.OrderItem;
import com.toyshop.entity.Order;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;

public interface OrderItemRepository extends JpaRepository<OrderItem, Long> {
  List<OrderItem> findByOrder(Order order);
}
