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

import java.util.Optional;

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.model.SalesBillVoucher;

@Repository
public interface SalesBillVoucherRepository extends MyRepository<SalesBillVoucher, Integer> {

    Optional<SalesBillVoucher> findByCode(String code);

}
