https://github.com/toquery/example-spring-data-jpa
https://github.com/toquery/example-spring-data-jpa
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/toquery/example-spring-data-jpa
- Owner: ToQuery
- Created: 2022-12-13T14:57:09.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-28T13:52:22.000Z (5 months ago)
- Last Synced: 2025-01-28T14:42:48.641Z (5 months ago)
- Language: Java
- Size: 146 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# example-spring-data-jpa
| 表名 | 名称 |
| :--------------: | ---------- |
| tb_product | 产品表 |
| tb_user | 用户表 |
| tb_favorite | 用户收藏表 |
| tb_order | 主订单表 |
| tb_order_product | 子订单表 || 主:辅(纵:横) | tb_product | tb_user | tb_favorite | tb_order | tb_order_product |
| :--------------- | ---------- | ------- | ----------- | -------- | ---------------- |
| tb_product | - | - | - | - | 1:1 |
| tb_user | - | - | 1:n | 1:n | |
| tb_favorite | 1:1 | n:1 | - | - | |
| tb_order | 1:n | n:1 | - | - | 1:n |
| tb_order_product | 1:1 | - | - | n:1 | |