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.DeviceUseRecordDaoExtend;
import com.zhongshu.card.server.core.domain.devices.DeviceUseRecords;

/**
 * 设备使用记录Dao
 *
 * @author TRX
 * @date 2024/3/21
 */
public interface DeviceUseRecordDao extends MongoDao<DeviceUseRecords>, DeviceUseRecordDaoExtend {

    DeviceUseRecords findTopById(String id);

    DeviceUseRecords findTopByMqttDataId(String mqttDataId);

}
