package com.dbnt.kcscopensearch.kcsc.tnDocumentGroup.repository;

import com.dbnt.kcscopensearch.kcsc.tnDocumentGroup.model.TnDocumentGroup;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TnDocumentGroupRepository extends JpaRepository<TnDocumentGroup, Integer> {

  Integer countBy();
  List<TnDocumentGroup> findByOrderByGroupSeqAsc(Pageable pageable);

}
