package com.its.api.its.repository.facility;

import com.its.api.its.model.entity.facility.TbFcltInfr;
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 TbFcltInfrRepository extends JpaRepository<TbFcltInfr, String>, JpaSpecificationExecutor<TbFcltInfr> {

    @Query("select p from TbFcltInfr p where p.delYn = 'N'")
    List<TbFcltInfr> findAllList();
}
