DeviceService.java 264 B

12345678910111213
  1. package cn.minbb.iot.service;
  2. import cn.minbb.iot.model.Device;
  3. import java.util.List;
  4. public interface DeviceService {
  5. Device save(Device device);
  6. Device findOneBySerialNumber(String serialNumber);
  7. List<Device> findAllByUserId(Integer userId);
  8. }