package bg.car_wash;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class CarWashApplication {

	public static void main(String[] args) {
		SpringApplication.run(CarWashApplication.class, args);
	}

}

@@ -15,16 +15,230 @@
 _wash;%0A%0A
+import bg.car_wash.areas.user.entity.User;%0Aimport bg.car_wash.areas.user.services.UserService;%0Aimport bg.car_wash.configurations.database.UserDefault;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0A
 import o
@@ -280,16 +280,16 @@
 cation;%0A
-
 import o
@@ -350,16 +350,79 @@
 ation;%0A%0A
+import javax.annotation.PostConstruct;%0Aimport java.util.List;%0A%0A
 @SpringB
@@ -471,16 +471,63 @@
 tion %7B%0A%0A
+%09@Autowired%0A%09private UserService userService;%0A%0A
 %09public 
@@ -621,10 +621,205 @@
 s);%0A%09%7D%0A%0A
+//%09@PostConstruct%0A//%09public void initUsers() %7B%0A//%09%09UserDefault userDefault = new UserDefault();%0A//%09%09for (User user : userDefault.getUsers()) %7B%0A//%09%09%09this.userService.createUser(user);%0A//%09%09%7D%0A//%09%7D%0A%0A
 %7D%0A

create default user