package com.dbnt.kcgfilemanager.repository;

import com.dbnt.kcgfilemanager.model.BoardCategory;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;


public interface BoardCategoryRepository extends JpaRepository<BoardCategory, Integer> {
  List<BoardCategory> findByParentSeqAndDepth(Integer parentSeq, Integer depth);
  List<BoardCategory> findByParentSeq(Integer parentSeq);
}
