├── .gitignore ├── .mvn └── wrapper │ ├── maven-wrapper.jar │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src ├── main ├── java │ └── kodlama │ │ └── io │ │ └── rentacar │ │ ├── RentACarApplication.java │ │ ├── adapters │ │ └── FakePosServiceAdapter.java │ │ ├── api │ │ └── controllers │ │ │ ├── BrandsController.java │ │ │ ├── CarsController.java │ │ │ ├── InvoicesController.java │ │ │ ├── MaintenancesController.java │ │ │ ├── ModelsController.java │ │ │ ├── PaymentsController.java │ │ │ └── RentalsController.java │ │ ├── business │ │ ├── abstracts │ │ │ ├── BrandService.java │ │ │ ├── CarService.java │ │ │ ├── InvoiceService.java │ │ │ ├── MaintenanceService.java │ │ │ ├── ModelService.java │ │ │ ├── PaymentService.java │ │ │ ├── PosService.java │ │ │ └── RentalService.java │ │ ├── concretes │ │ │ ├── BrandManager.java │ │ │ ├── CarManager.java │ │ │ ├── InvoiceManager.java │ │ │ ├── MaintenanceManager.java │ │ │ ├── ModelManager.java │ │ │ ├── PaymentManager.java │ │ │ └── RentalManager.java │ │ ├── dto │ │ │ ├── requests │ │ │ │ ├── PaymentRequest.java │ │ │ │ ├── create │ │ │ │ │ ├── CreateBrandRequest.java │ │ │ │ │ ├── CreateCarRequest.java │ │ │ │ │ ├── CreateInvoiceRequest.java │ │ │ │ │ ├── CreateMaintenanceRequest.java │ │ │ │ │ ├── CreateModelRequest.java │ │ │ │ │ ├── CreatePaymentRequest.java │ │ │ │ │ └── CreateRentalRequest.java │ │ │ │ └── update │ │ │ │ │ ├── UpdateBrandRequest.java │ │ │ │ │ ├── UpdateCarRequest.java │ │ │ │ │ ├── UpdateInvoiceRequest.java │ │ │ │ │ ├── UpdateMaintenanceRequest.java │ │ │ │ │ ├── UpdateModelRequest.java │ │ │ │ │ ├── UpdatePaymentRequest.java │ │ │ │ │ └── UpdateRentalRequest.java │ │ │ └── responses │ │ │ │ ├── create │ │ │ │ ├── CreateBrandResponse.java │ │ │ │ ├── CreateCarResponse.java │ │ │ │ ├── CreateInvoiceResponse.java │ │ │ │ ├── CreateMaintenanceResponse.java │ │ │ │ ├── CreateModelResponse.java │ │ │ │ ├── CreatePaymentResponse.java │ │ │ │ └── CreateRentalResponse.java │ │ │ │ ├── get │ │ │ │ ├── GetAllBrandsResponse.java │ │ │ │ ├── GetAllCarsResponse.java │ │ │ │ ├── GetAllInvoicesResponse.java │ │ │ │ ├── GetAllMaintenancesResponse.java │ │ │ │ ├── GetAllModelsResponse.java │ │ │ │ ├── GetAllPaymentsResponse.java │ │ │ │ ├── GetAllRentalsResponse.java │ │ │ │ ├── GetBrandResponse.java │ │ │ │ ├── GetCarResponse.java │ │ │ │ ├── GetInvoiceResponse.java │ │ │ │ ├── GetMaintenanceResponse.java │ │ │ │ ├── GetModelResponse.java │ │ │ │ ├── GetPaymentResponse.java │ │ │ │ └── GetRentalResponse.java │ │ │ │ └── update │ │ │ │ ├── UpdateBrandResponse.java │ │ │ │ ├── UpdateCarResponse.java │ │ │ │ ├── UpdateInvoiceResponse.java │ │ │ │ ├── UpdateMaintenanceResponse.java │ │ │ │ ├── UpdateModelResponse.java │ │ │ │ ├── UpdatePaymentResponse.java │ │ │ │ └── UpdateRentalResponse.java │ │ └── rules │ │ │ ├── BrandBusinessRules.java │ │ │ ├── CarBusinessRules.java │ │ │ ├── InvoiceBusinessRules.java │ │ │ ├── MaintenanceBusinessRules.java │ │ │ ├── ModelBusinessRules.java │ │ │ ├── PaymentBusinessRules.java │ │ │ └── RentalBusinessRules.java │ │ ├── common │ │ ├── constants │ │ │ ├── ExceptionTypes.java │ │ │ ├── Messages.java │ │ │ └── Regex.java │ │ ├── dto │ │ │ └── CreateRentalPaymentRequest.java │ │ └── utils │ │ │ └── annotations │ │ │ ├── NotFutureYear.java │ │ │ └── NotFutureYearValidator.java │ │ ├── configuration │ │ └── mapper │ │ │ └── ModelMapperConfig.java │ │ ├── core │ │ ├── configuration │ │ │ └── exceptions │ │ │ │ └── RestExceptionHandler.java │ │ ├── exceptions │ │ │ └── BusinessException.java │ │ └── utils │ │ │ └── results │ │ │ └── ExceptionResult.java │ │ ├── entities │ │ ├── Brand.java │ │ ├── Car.java │ │ ├── Invoice.java │ │ ├── Maintenance.java │ │ ├── Model.java │ │ ├── Payment.java │ │ ├── Rental.java │ │ └── enums │ │ │ └── State.java │ │ └── repository │ │ ├── BrandRepository.java │ │ ├── CarRepository.java │ │ ├── InvoiceRepository.java │ │ ├── MaintenanceRepository.java │ │ ├── ModelRepository.java │ │ ├── PaymentRepository.java │ │ └── RentalRepository.java └── resources │ └── application.properties └── test └── java └── kodlama └── io └── rentacar └── RentACarApplicationTests.java /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/.gitignore -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/mvnw -------------------------------------------------------------------------------- /mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/mvnw.cmd -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/pom.xml -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/RentACarApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/RentACarApplication.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/adapters/FakePosServiceAdapter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/adapters/FakePosServiceAdapter.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/api/controllers/BrandsController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/api/controllers/BrandsController.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/api/controllers/CarsController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/api/controllers/CarsController.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/api/controllers/InvoicesController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/api/controllers/InvoicesController.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/api/controllers/MaintenancesController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/api/controllers/MaintenancesController.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/api/controllers/ModelsController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/api/controllers/ModelsController.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/api/controllers/PaymentsController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/api/controllers/PaymentsController.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/api/controllers/RentalsController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/api/controllers/RentalsController.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/abstracts/BrandService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/abstracts/BrandService.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/abstracts/CarService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/abstracts/CarService.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/abstracts/InvoiceService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/abstracts/InvoiceService.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/abstracts/MaintenanceService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/abstracts/MaintenanceService.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/abstracts/ModelService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/abstracts/ModelService.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/abstracts/PaymentService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/abstracts/PaymentService.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/abstracts/PosService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/abstracts/PosService.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/abstracts/RentalService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/abstracts/RentalService.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/concretes/BrandManager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/concretes/BrandManager.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/concretes/CarManager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/concretes/CarManager.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/concretes/InvoiceManager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/concretes/InvoiceManager.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/concretes/MaintenanceManager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/concretes/MaintenanceManager.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/concretes/ModelManager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/concretes/ModelManager.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/concretes/PaymentManager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/concretes/PaymentManager.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/concretes/RentalManager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/concretes/RentalManager.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/requests/PaymentRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/requests/PaymentRequest.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/requests/create/CreateBrandRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/requests/create/CreateBrandRequest.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/requests/create/CreateCarRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/requests/create/CreateCarRequest.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/requests/create/CreateInvoiceRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/requests/create/CreateInvoiceRequest.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/requests/create/CreateMaintenanceRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/requests/create/CreateMaintenanceRequest.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/requests/create/CreateModelRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/requests/create/CreateModelRequest.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/requests/create/CreatePaymentRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/requests/create/CreatePaymentRequest.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/requests/create/CreateRentalRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/requests/create/CreateRentalRequest.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/requests/update/UpdateBrandRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/requests/update/UpdateBrandRequest.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/requests/update/UpdateCarRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/requests/update/UpdateCarRequest.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/requests/update/UpdateInvoiceRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/requests/update/UpdateInvoiceRequest.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/requests/update/UpdateMaintenanceRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/requests/update/UpdateMaintenanceRequest.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/requests/update/UpdateModelRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/requests/update/UpdateModelRequest.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/requests/update/UpdatePaymentRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/requests/update/UpdatePaymentRequest.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/requests/update/UpdateRentalRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/requests/update/UpdateRentalRequest.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/create/CreateBrandResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/create/CreateBrandResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/create/CreateCarResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/create/CreateCarResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/create/CreateInvoiceResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/create/CreateInvoiceResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/create/CreateMaintenanceResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/create/CreateMaintenanceResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/create/CreateModelResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/create/CreateModelResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/create/CreatePaymentResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/create/CreatePaymentResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/create/CreateRentalResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/create/CreateRentalResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetAllBrandsResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetAllBrandsResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetAllCarsResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetAllCarsResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetAllInvoicesResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetAllInvoicesResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetAllMaintenancesResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetAllMaintenancesResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetAllModelsResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetAllModelsResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetAllPaymentsResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetAllPaymentsResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetAllRentalsResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetAllRentalsResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetBrandResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetBrandResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetCarResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetCarResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetInvoiceResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetInvoiceResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetMaintenanceResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetMaintenanceResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetModelResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetModelResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetPaymentResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetPaymentResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetRentalResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/get/GetRentalResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/update/UpdateBrandResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/update/UpdateBrandResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/update/UpdateCarResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/update/UpdateCarResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/update/UpdateInvoiceResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/update/UpdateInvoiceResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/update/UpdateMaintenanceResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/update/UpdateMaintenanceResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/update/UpdateModelResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/update/UpdateModelResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/update/UpdatePaymentResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/update/UpdatePaymentResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/dto/responses/update/UpdateRentalResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/dto/responses/update/UpdateRentalResponse.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/rules/BrandBusinessRules.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/rules/BrandBusinessRules.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/rules/CarBusinessRules.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/rules/CarBusinessRules.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/rules/InvoiceBusinessRules.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/rules/InvoiceBusinessRules.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/rules/MaintenanceBusinessRules.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/rules/MaintenanceBusinessRules.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/rules/ModelBusinessRules.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/rules/ModelBusinessRules.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/rules/PaymentBusinessRules.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/rules/PaymentBusinessRules.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/business/rules/RentalBusinessRules.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/business/rules/RentalBusinessRules.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/common/constants/ExceptionTypes.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/common/constants/ExceptionTypes.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/common/constants/Messages.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/common/constants/Messages.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/common/constants/Regex.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/common/constants/Regex.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/common/dto/CreateRentalPaymentRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/common/dto/CreateRentalPaymentRequest.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/common/utils/annotations/NotFutureYear.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/common/utils/annotations/NotFutureYear.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/common/utils/annotations/NotFutureYearValidator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/common/utils/annotations/NotFutureYearValidator.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/configuration/mapper/ModelMapperConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/configuration/mapper/ModelMapperConfig.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/core/configuration/exceptions/RestExceptionHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/core/configuration/exceptions/RestExceptionHandler.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/core/exceptions/BusinessException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/core/exceptions/BusinessException.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/core/utils/results/ExceptionResult.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/core/utils/results/ExceptionResult.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/entities/Brand.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/entities/Brand.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/entities/Car.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/entities/Car.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/entities/Invoice.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/entities/Invoice.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/entities/Maintenance.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/entities/Maintenance.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/entities/Model.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/entities/Model.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/entities/Payment.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/entities/Payment.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/entities/Rental.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/entities/Rental.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/entities/enums/State.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/entities/enums/State.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/repository/BrandRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/repository/BrandRepository.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/repository/CarRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/repository/CarRepository.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/repository/InvoiceRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/repository/InvoiceRepository.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/repository/MaintenanceRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/repository/MaintenanceRepository.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/repository/ModelRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/repository/ModelRepository.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/repository/PaymentRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/repository/PaymentRepository.java -------------------------------------------------------------------------------- /src/main/java/kodlama/io/rentacar/repository/RentalRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/java/kodlama/io/rentacar/repository/RentalRepository.java -------------------------------------------------------------------------------- /src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/main/resources/application.properties -------------------------------------------------------------------------------- /src/test/java/kodlama/io/rentacar/RentACarApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kalayciburak-instruction/turkcell2-rent-a-car/HEAD/src/test/java/kodlama/io/rentacar/RentACarApplicationTests.java --------------------------------------------------------------------------------