19 lines
504 B
Plaintext
19 lines
504 B
Plaintext
package com.healthcare.ohctech.service;
|
|
|
|
import com.healthcare.ohctech.dto.DoctorDto;
|
|
import com.healthcare.ohctech.entity.Doctor;
|
|
import org.springframework.data.domain.Page;
|
|
import org.springframework.data.domain.Pageable;
|
|
|
|
public interface DoctorService {
|
|
Doctor getDoctorById(Long doctorId);
|
|
|
|
Page<Doctor> getAllDoctors(Pageable pageable);
|
|
|
|
void addDoctor(DoctorDto doctorDto,Long userId);
|
|
|
|
void updateDoctor(DoctorDto doctorDto,Long userId);
|
|
|
|
void deleteDoctor(Long doctorId);
|
|
}
|