docs: 작업 현황 및 관계 문서 업데이트
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# 논리적 데이터베이스 관계 문서
|
||||
|
||||
> **자동 생성**: 2025-12-04 20:56:47
|
||||
> **자동 생성**: 2025-12-08 20:14:33
|
||||
> **소스**: Eloquent 모델 관계 분석
|
||||
|
||||
## 📊 모델별 관계 현황
|
||||
@@ -8,6 +8,8 @@ ## 📊 모델별 관계 현황
|
||||
### boards
|
||||
**모델**: `App\Models\Boards\Board`
|
||||
|
||||
- **creator()**: belongsTo → `users`
|
||||
- **updater()**: belongsTo → `users`
|
||||
- **customFields()**: hasMany → `board_settings`
|
||||
- **posts()**: hasMany → `posts`
|
||||
|
||||
@@ -299,10 +301,19 @@ ### parts
|
||||
- **category()**: belongsTo → `common_codes`
|
||||
- **partType()**: belongsTo → `common_codes`
|
||||
|
||||
### price_historys
|
||||
**모델**: `App\Models\Products\PriceHistory`
|
||||
### prices
|
||||
**모델**: `App\Models\Products\Price`
|
||||
|
||||
- **clientGroup()**: belongsTo → `client_groups`
|
||||
- **product()**: belongsTo → `products`
|
||||
- **material()**: belongsTo → `materials`
|
||||
- **revisions()**: hasMany → `price_revisions`
|
||||
|
||||
### price_revisions
|
||||
**모델**: `App\Models\Products\PriceRevision`
|
||||
|
||||
- **price()**: belongsTo → `prices`
|
||||
- **changedByUser()**: belongsTo → `users`
|
||||
|
||||
### products
|
||||
**모델**: `App\Models\Products\Product`
|
||||
|
||||
Reference in New Issue
Block a user