package com.zhongshu.card.server.core.dao.org;

import com.github.microservice.components.data.mongo.mongo.dao.MongoDao;
import com.zhongshu.card.server.core.dao.org.extend.UserGroupDaoExtend;
import com.zhongshu.card.server.core.domain.org.UserGroup;

import java.util.List;

/**
 * @author TRX
 * @date 2024/3/21
 */
public interface UserGroupDao extends MongoDao<UserGroup>, UserGroupDaoExtend {

    List<UserGroup> findByIdIn(List<String> ids);

    UserGroup findTopById(String id);

}
