- Added pagination to GET requests - Added API docs with Swagger - Impelemted security
14 lines
496 B
Java
14 lines
496 B
Java
package com.indexzero.finals.service;
|
|
|
|
import com.indexzero.finals.dto.EntranceDTO;
|
|
import org.springframework.data.domain.Page;
|
|
import org.springframework.data.domain.Pageable;
|
|
import org.springframework.http.ResponseEntity;
|
|
import org.springframework.security.core.Authentication;
|
|
|
|
public interface EntranceService {
|
|
ResponseEntity<Page<EntranceDTO>> getEmployeeEntrances(Pageable pageable, Authentication auth);
|
|
ResponseEntity<Page<EntranceDTO>> getAllEntrances(Pageable pageable);
|
|
|
|
}
|