19 lines
516 B
Plaintext
19 lines
516 B
Plaintext
package com.healthcare.ohctech.service;
|
|
|
|
import com.healthcare.ohctech.dto.DeviceDto;
|
|
import com.healthcare.ohctech.entity.DeviceMaster;
|
|
import org.springframework.data.domain.Page;
|
|
import org.springframework.data.domain.Pageable;
|
|
|
|
public interface DeviceMasterService {
|
|
DeviceMaster getDeviceById(Long id);
|
|
|
|
Page<DeviceMaster> getAllDevices(Pageable pageable);
|
|
|
|
void addDevice(DeviceDto deviceDto,Long userId);
|
|
|
|
void updateDevice(DeviceDto deviceDto,Long userId);
|
|
|
|
void deleteDevice(Long id);
|
|
}
|