This commit is contained in:
wu 2024-12-18 10:04:36 +08:00
parent a18859c753
commit fcd6a6e27a

View File

@ -142,7 +142,7 @@ Spring Boot Projects 没有特定的布局或代码结构。但可以遵循的
com com
+- lk +- lk
+- demo +- demo
+- MyApplication.java +- MyApp.java
| |
+- customer +- customer
| +- Customer.java | +- Customer.java
@ -172,21 +172,21 @@ com
com com
+- lk +- lk
+- demo +- demo
+- MyApplication.java +- MyApp.java
| |
+- domain +- domain
| +- Customer.java | +- Customer.java
| +- Order.java | +- Order.java
| |
+- controllers +- controller
| +- OrderController.java | +- OrderController.java
| +- CustomerController.java | +- CustomerController.java
| |
+- services +- service
| +- CustomerService.java | +- CustomerService.java
| +- OrderService.java | +- OrderService.java
| |
+- repositories +- repository
+- CustomerRepository.java +- CustomerRepository.java
+- OrderRepository.java +- OrderRepository.java