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.Device2UseUsableDaoExtend;
import com.zhongshu.card.server.core.domain.devices.permiss.Device2UseUsable;

/**
 * 设备临时权限Dao
 *
 * @author TRX
 * @date 2024/3/21
 */
public interface Device2UseUsableDao extends MongoDao<Device2UseUsable>, Device2UseUsableDaoExtend {

    Device2UseUsable findTopById(String id);

    Device2UseUsable findToByFromDataId(String fromDataId);

}
