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

import com.its.op.entity.its.scrs.TbScIxrCmraMngm;
import com.its.op.entity.its.scrs.TbScIxrCmraMngmKey;
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 TbScIxrCmraMngmRepository extends JpaRepository<TbScIxrCmraMngm, TbScIxrCmraMngmKey>, JpaSpecificationExecutor<TbScIxrCmraMngm> {

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

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

}
