ohctechv3/.svn/pristine/1f/1fee6d57b4cd4ddcc4331f967378494ec7c4fd45.svn-base
2024-10-28 15:03:36 +05:30

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);
}