package com.izouma.nineth.repo;


import com.izouma.nineth.domain.MetaItem;
import com.izouma.nineth.enums.MetaItemEnum;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface MetaItemRepo extends JpaRepository<MetaItem, Long>, JpaSpecificationExecutor<MetaItem> {

    List<MetaItem> findAllByType(MetaItemEnum type);
}
