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

import com.github.microservice.components.data.mongo.mongo.dao.MongoDao;
import com.zhongshu.card.server.core.dao.devices.extend.DeviceGroupDaoExtend;
import com.zhongshu.card.server.core.domain.devices.DeviceGroup;

import java.util.List;

/**
 * @author TRX
 * @date 2024/3/21
 */
public interface DeviceGroupDao extends MongoDao<DeviceGroup>, DeviceGroupDaoExtend {

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

    DeviceGroup findTopById(String id);

}
