[R4] Add java doc to custom repository method
This commit is contained in:
parent
6403f625ba
commit
94685ecf39
@ -14,5 +14,10 @@ import com.mirna.hospitalmanagementapi.domain.entities.Doctor;
|
|||||||
*/
|
*/
|
||||||
public interface DoctorRepository extends JpaRepository<Doctor, Long> {
|
public interface DoctorRepository extends JpaRepository<Doctor, Long> {
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param pageable Pagination information, such as size and page number
|
||||||
|
* @return A paginated list with active stored doctors if successful, or null if there is an error
|
||||||
|
*/
|
||||||
Page<Doctor> findDoctorsByActiveTrue(Pageable pageable);
|
Page<Doctor> findDoctorsByActiveTrue(Pageable pageable);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user