package com.zhongshu.card.server.core.dao.dictionary.extend;

import com.zhongshu.card.client.model.dictionary.DictionaryItemModel;
import com.zhongshu.card.server.core.domain.dictionary.DictionaryItem;
import com.zhongshu.card.server.core.model.dictionary.DItemChildrenResult;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface DictionaryItemDaoExtend {

    Page<DictionaryItem> page(Pageable pageable, String dictionaryId, String name, String parentId);

    List<DictionaryItemModel> deepAggregate(String dictionaryId, List<String> keys);
}
