오늘 이슈(TodayIssue) 기능 구현
- TodayIssue 모델 및 마이그레이션 추가 - TodayIssueController, TodayIssueService 구현 - TodayIssueObserverService 및 Observer 패턴 적용 - DailyReportService 연동 - Swagger API 문서 업데이트 - 라우트 추가
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# 논리적 데이터베이스 관계 문서
|
||||
|
||||
> **자동 생성**: 2026-01-21 10:38:32
|
||||
> **자동 생성**: 2026-01-21 20:45:47
|
||||
> **소스**: Eloquent 모델 관계 분석
|
||||
|
||||
## 📊 모델별 관계 현황
|
||||
@@ -730,6 +730,11 @@ ### expected_expenses
|
||||
- **bankAccount()**: belongsTo → `bank_accounts`
|
||||
- **creator()**: belongsTo → `users`
|
||||
|
||||
### expense_accounts
|
||||
**모델**: `App\Models\Tenants\ExpenseAccount`
|
||||
|
||||
- **vendor()**: belongsTo → `clients`
|
||||
|
||||
### leaves
|
||||
**모델**: `App\Models\Tenants\Leave`
|
||||
|
||||
@@ -818,6 +823,12 @@ ### sales
|
||||
- **deposit()**: belongsTo → `deposits`
|
||||
- **creator()**: belongsTo → `users`
|
||||
|
||||
### schedules
|
||||
**모델**: `App\Models\Tenants\Schedule`
|
||||
|
||||
- **creator()**: belongsTo → `users`
|
||||
- **updater()**: belongsTo → `users`
|
||||
|
||||
### setting_field_defs
|
||||
**모델**: `App\Models\Tenants\SettingFieldDef`
|
||||
|
||||
@@ -923,6 +934,10 @@ ### tenant_user_profiles
|
||||
- **rankPosition()**: belongsTo → `positions`
|
||||
- **titlePosition()**: belongsTo → `positions`
|
||||
|
||||
### today_issues
|
||||
**모델**: `App\Models\Tenants\TodayIssue`
|
||||
|
||||
|
||||
### withdrawals
|
||||
**모델**: `App\Models\Tenants\Withdrawal`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user