IndexZero fb6c4e58d0 - Added Entrance DTO
- Added pagination to GET requests
- Added API docs with Swagger
- Impelemted security
2025-02-19 12:37:26 +03:00

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