package vn.azteam.tpf.repository;

import vn.azteam.tpf.domain.TBBlockDetails;

import java.util.Optional;

import org.springframework.data.jpa.repository.*;
import org.springframework.stereotype.Repository;


/**
 * Spring Data  repository for the TBBlockDetails entity.
 */
@SuppressWarnings("unused")
@Repository
public interface TBBlockDetailsRepository extends JpaRepository<TBBlockDetails, Long>, JpaSpecificationExecutor<TBBlockDetails> {
    Optional<TBBlockDetails> getByCodeAndTbSuppliesInWarehouseId(String code, Long tbSuppliesInWarehouseId);
}
