-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApiUserApplication.java
More file actions
40 lines (36 loc) · 1.17 KB
/
ApiUserApplication.java
File metadata and controls
40 lines (36 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package com.nowait.applicationuser;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
@EnableJpaAuditing
@SpringBootApplication(scanBasePackages = {
"com.nowait.applicationuser",
"com.nowait.frontsecurity",
"com.nowait.externaloauth",
"com.nowait.config"
})
@EntityScan(basePackages = {
"com.nowait.menu.entity",
"com.nowait.store.entity",
"com.nowait.token.entity",
"com.nowait.user.entity",
"com.nowait.bookmark.entity",
"com.nowait.reservation.entity",
"com.nowait.order.entity"
})
@EnableJpaRepositories(basePackages = {
"com.nowait.menu.repository",
"com.nowait.user.repository",
"com.nowait.store.repository",
"com.nowait.token.repository",
"com.nowait.bookmark.repository",
"com.nowait.order.repository",
"com.nowait.reservation.repository"
})
public class ApiUserApplication {
public static void main(String[] args) {
SpringApplication.run(ApiUserApplication.class, args);
}
}