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

import com.its.op.entity.its.incident.TbIncdOcrrVms;
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 TbIncdOcrrVmsRepository extends JpaRepository<TbIncdOcrrVms, String>, JpaSpecificationExecutor<TbIncdOcrrVms> {

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