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

import com.its.op.entity.its.oper.TbOperSystMenu;
import com.its.op.entity.its.oper.TbOperSystMenuKey;
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 TbOperSystMenuRepository extends JpaRepository<TbOperSystMenu, TbOperSystMenuKey>, JpaSpecificationExecutor<TbOperSystMenu> {

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