feat: Phase 5.1-1 사용자 초대 + Phase 5.2 알림 설정 API 연동
- 사용자 초대 API: role 문자열 지원 추가 (React 호환) - 알림 설정 API: 그룹 기반 계층 구조 구현 - notification_setting_groups 테이블 추가 - notification_setting_group_items 테이블 추가 - notification_setting_group_states 테이블 추가 - GET/PUT /api/v1/settings/notifications 엔드포인트 추가 - Pint 코드 스타일 정리
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# 논리적 데이터베이스 관계 문서
|
||||
|
||||
> **자동 생성**: 2025-12-21 16:03:09
|
||||
> **자동 생성**: 2025-12-22 17:39:00
|
||||
> **소스**: Eloquent 모델 관계 분석
|
||||
|
||||
## 📊 모델별 관계 현황
|
||||
@@ -110,6 +110,13 @@ ### tags
|
||||
|
||||
- **tenant()**: belongsTo → `tenants`
|
||||
|
||||
### company_requests
|
||||
**모델**: `App\Models\CompanyRequest`
|
||||
|
||||
- **user()**: belongsTo → `users`
|
||||
- **approver()**: belongsTo → `users`
|
||||
- **createdTenant()**: belongsTo → `tenants`
|
||||
|
||||
### bom_templates
|
||||
**모델**: `App\Models\Design\BomTemplate`
|
||||
|
||||
@@ -261,6 +268,20 @@ ### notification_settings
|
||||
**모델**: `App\Models\NotificationSetting`
|
||||
|
||||
|
||||
### notification_setting_groups
|
||||
**모델**: `App\Models\NotificationSettingGroup`
|
||||
|
||||
- **items()**: hasMany → `notification_setting_group_items`
|
||||
|
||||
### notification_setting_group_items
|
||||
**모델**: `App\Models\NotificationSettingGroupItem`
|
||||
|
||||
- **group()**: belongsTo → `notification_setting_groups`
|
||||
|
||||
### notification_setting_group_states
|
||||
**모델**: `App\Models\NotificationSettingGroupState`
|
||||
|
||||
|
||||
### clients
|
||||
**모델**: `App\Models\Orders\Client`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user