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 getAllDevices(Pageable pageable); DeviceMaster addDevice(DeviceDto deviceDto); DeviceMaster updateDevice(DeviceDto deviceDto); void deleteDevice(Long id); }