From e944d34316e7a799ddbbc59da20d25807e8b0f0d Mon Sep 17 00:00:00 2001 From: Marcel Schwarz Date: Tue, 28 Apr 2020 11:06:43 +0200 Subject: [PATCH] Move User and UserRepository to the correct packages --- .../src/main/java/de/hft/geotime/{user => entities}/User.java | 2 +- .../de/hft/geotime/{user => repositories}/UserRepository.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) rename backend/src/main/java/de/hft/geotime/{user => entities}/User.java (94%) rename backend/src/main/java/de/hft/geotime/{user => repositories}/UserRepository.java (84%) diff --git a/backend/src/main/java/de/hft/geotime/user/User.java b/backend/src/main/java/de/hft/geotime/entities/User.java similarity index 94% rename from backend/src/main/java/de/hft/geotime/user/User.java rename to backend/src/main/java/de/hft/geotime/entities/User.java index f697365..196c555 100644 --- a/backend/src/main/java/de/hft/geotime/user/User.java +++ b/backend/src/main/java/de/hft/geotime/entities/User.java @@ -1,4 +1,4 @@ -package de.hft.geotime.user; +package de.hft.geotime.entities; import lombok.Data; diff --git a/backend/src/main/java/de/hft/geotime/user/UserRepository.java b/backend/src/main/java/de/hft/geotime/repositories/UserRepository.java similarity index 84% rename from backend/src/main/java/de/hft/geotime/user/UserRepository.java rename to backend/src/main/java/de/hft/geotime/repositories/UserRepository.java index 9b303ba..ac834cc 100644 --- a/backend/src/main/java/de/hft/geotime/user/UserRepository.java +++ b/backend/src/main/java/de/hft/geotime/repositories/UserRepository.java @@ -1,5 +1,6 @@ -package de.hft.geotime.user; +package de.hft.geotime.repositories; +import de.hft.geotime.entities.User; import org.springframework.data.repository.PagingAndSortingRepository; import org.springframework.data.rest.core.annotation.RepositoryRestResource;