Move repos to own package

This commit is contained in:
CodeSteak 2020-04-29 23:07:47 +02:00
parent de6c750e7f
commit 411760e1d4
4 changed files with 3 additions and 11 deletions

View File

@ -1,8 +0,0 @@
package org.hso.ecommerce;
import org.springframework.stereotype.Controller;
@Controller
//@RequestMapping("...")
public class ShopController {
}

View File

@ -1,6 +1,6 @@
package org.hso.ecommerce.app;
import org.hso.ecommerce.entities.user.UserRepository;
import org.hso.ecommerce.repos.user.UserRepository;
import org.hso.ecommerce.entities.user.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

View File

@ -1,6 +1,6 @@
package org.hso.ecommerce.components;
import org.hso.ecommerce.entities.user.UserRepository;
import org.hso.ecommerce.repos.user.UserRepository;
import org.hso.ecommerce.entities.user.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

View File

@ -1,4 +1,4 @@
package org.hso.ecommerce.entities.user;
package org.hso.ecommerce.repos.user;
import org.hso.ecommerce.entities.user.User;
import org.springframework.data.jpa.repository.JpaRepository;