docs: Shipment 모델 관계 추가
- shipments, shipment_items 모델 관계 문서화 - 자동 생성 시간 업데이트 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# 논리적 데이터베이스 관계 문서
|
||||
|
||||
> **자동 생성**: 2025-12-26 15:08:36
|
||||
> **자동 생성**: 2025-12-26 18:32:26
|
||||
> **소스**: Eloquent 모델 관계 분석
|
||||
|
||||
## 📊 모델별 관계 현황
|
||||
@@ -679,6 +679,19 @@ ### setting_field_defs
|
||||
|
||||
- **tenantSettings()**: hasMany → `tenant_field_settings`
|
||||
|
||||
### shipments
|
||||
**모델**: `App\Models\Tenants\Shipment`
|
||||
|
||||
- **creator()**: belongsTo → `users`
|
||||
- **updater()**: belongsTo → `users`
|
||||
- **items()**: hasMany → `shipment_items`
|
||||
|
||||
### shipment_items
|
||||
**모델**: `App\Models\Tenants\ShipmentItem`
|
||||
|
||||
- **shipment()**: belongsTo → `shipments`
|
||||
- **stockLot()**: belongsTo → `stock_lots`
|
||||
|
||||
### sites
|
||||
**모델**: `App\Models\Tenants\Site`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user