Initial commit

This commit is contained in:
2025-04-28 13:31:00 +02:00
commit a3e8bbfcff
36 changed files with 1923 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
package com.carService.demo.manager;
import com.carService.demo.domain.Car;
import com.carService.demo.domain.CarService;
import java.util.List;
import java.util.Optional;
public interface CarServiceManager {
CarService createService(CarService service);
List<CarService> getAllServices();
Optional<CarService> getServiceById(Long serviceId);
List<CarService> getServicesByCar(Car car);
List<CarService> getServicesByCarId(Long carId);
List<CarService> getRecentServices(int limit);
void deleteServiceById(Long serviceId);
}