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

import com.its.op.entity.its.rse.TbRseObuClctHs;
import com.its.op.entity.its.rse.TbRseObuClctHsKey;
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 TbRseObuClctHsRepository extends JpaRepository<TbRseObuClctHs, TbRseObuClctHsKey>, JpaSpecificationExecutor<TbRseObuClctHs> {

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

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

}
