package com.its.op.dao.repository.its.database;

import com.its.op.entity.its.database.TbCnctIntn;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TbCnctIntnRepository extends JpaRepository<TbCnctIntn, Long>, JpaSpecificationExecutor<TbCnctIntn> {

    @Query("select p from TbCnctIntn p")
    List<TbCnctIntn> findAll();
}
