feat(api): 예상비용 동기화 커맨드 및 서비스 개선

- SyncExpectedExpensesCommand 추가
- ExpectedExpenseService 로직 개선
- LOGICAL_RELATIONSHIPS 문서 업데이트

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-23 15:38:32 +09:00
parent 8c77d1b32b
commit 131c0fc5dc
3 changed files with 425 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
# 논리적 데이터베이스 관계 문서
> **자동 생성**: 2026-01-22 22:44:22
> **자동 생성**: 2026-01-23 10:19:57
> **소스**: Eloquent 모델 관계 분석
## 📊 모델별 관계 현황
@@ -731,6 +731,7 @@ ### expected_expenses
- **client()**: belongsTo → `clients`
- **bankAccount()**: belongsTo → `bank_accounts`
- **creator()**: belongsTo → `users`
- **source()**: morphTo → `(Polymorphic)`
### expense_accounts
**모델**: `App\Models\Tenants\ExpenseAccount`