package com.maternalmall.repository;

import com.maternalmall.domain.InventoryRecord;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface InventoryRecordRepository extends JpaRepository<InventoryRecord, Long> {
    List<InventoryRecord> findByMerchantId(Long merchantId);
    List<InventoryRecord> findByProductId(Long productId);
}
