package edu.prlab.tyler.iotgateway.cloud.repositories;

import edu.prlab.tyler.iotgateway.cloud.pojo.device.Device;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface DeviceRepository extends CrudRepository<Device, Long> {
    Optional<Device> findByUdn(String udn);
}
