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

import com.its.op.entity.its.rse.TbRseOffrSectRltnIfsc;
import com.its.op.entity.its.rse.TbRseOffrSectRltnIfscKey;
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 TbRseOffrSectRltnIfscRepository extends JpaRepository<TbRseOffrSectRltnIfsc, TbRseOffrSectRltnIfscKey>, JpaSpecificationExecutor<TbRseOffrSectRltnIfsc> {

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

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

}
