19 lines
508 B
Plaintext
19 lines
508 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);
|
|
|
|
DeviceMaster addDevice(DeviceDto deviceDto);
|
|
|
|
DeviceMaster updateDevice(DeviceDto deviceDto);
|
|
|
|
void deleteDevice(Long id);
|
|
}
|