package com.demo.dao;

import com.demo.entity.po.DeviceInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.stereotype.Repository;


@Repository
public class DeviceInfoDao {
    @Autowired
    private MongoTemplate mongoTemplate;

    public void insert(DeviceInfo deviceInfo){
        mongoTemplate.insert(deviceInfo);
    }


}
