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

import com.its.op.entity.its.facility.TbFcltFailTypeAct;
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 TbFcltFailTypeActRepository extends JpaRepository<TbFcltFailTypeAct, String>, JpaSpecificationExecutor<TbFcltFailTypeAct> {

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

    @Query("select p from TbFcltFailTypeAct p")
    List<TbFcltFailTypeAct> findAllList();

}
