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

import java.util.Optional;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import com.ecep.contract.model.ExtendVendorInfo;

@Repository
public interface ExtendVendorInfoRepository extends
        // JPA interfaces
        JpaRepository<ExtendVendorInfo, Integer>, JpaSpecificationExecutor<ExtendVendorInfo> {

    Optional<ExtendVendorInfo> findByContractId(Integer contractId);
}
