package com.ecep.contract.ds.contract.repository;

import com.ecep.contract.ds.MyRepository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

import com.ecep.contract.ds.vendor.model.PurchaseBillVoucherItem;

import java.util.List;

@Repository
public interface PurchaseBillVoucherItemRepository extends
        MyRepository<PurchaseBillVoucherItem, Integer> {

    List<PurchaseBillVoucherItem> findAllByContractId(Integer contractId);
}
