style: Pint 코드 스타일 자동 수정 및 마이그레이션 실행
- Pint 스타일 이슈 25개 수정 (783 파일 통과) - 마이그레이션 4개 실행 (payrolls, payroll_settings, push 테이블) - routes/api.php import 정렬
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# 논리적 데이터베이스 관계 문서
|
||||
|
||||
> **자동 생성**: 2025-12-17 23:09:53
|
||||
> **자동 생성**: 2025-12-18 11:37:56
|
||||
> **소스**: Eloquent 모델 관계 분석
|
||||
|
||||
## 📊 모델별 관계 현황
|
||||
@@ -306,6 +306,14 @@ ### price_revisions
|
||||
|
||||
- **price()**: belongsTo → `prices`
|
||||
|
||||
### push_device_tokens
|
||||
**모델**: `App\Models\PushDeviceToken`
|
||||
|
||||
|
||||
### push_notification_settings
|
||||
**모델**: `App\Models\PushNotificationSetting`
|
||||
|
||||
|
||||
### lots
|
||||
**모델**: `App\Models\Qualitys\Lot`
|
||||
|
||||
@@ -339,6 +347,36 @@ ### quote_revisions
|
||||
- **quote()**: belongsTo → `quotes`
|
||||
- **reviser()**: belongsTo → `users`
|
||||
|
||||
### approvals
|
||||
**모델**: `App\Models\Tenants\Approval`
|
||||
|
||||
- **form()**: belongsTo → `approval_forms`
|
||||
- **drafter()**: belongsTo → `users`
|
||||
- **creator()**: belongsTo → `users`
|
||||
- **updater()**: belongsTo → `users`
|
||||
- **steps()**: hasMany → `approval_steps`
|
||||
- **approverSteps()**: hasMany → `approval_steps`
|
||||
- **referenceSteps()**: hasMany → `approval_steps`
|
||||
|
||||
### approval_forms
|
||||
**모델**: `App\Models\Tenants\ApprovalForm`
|
||||
|
||||
- **creator()**: belongsTo → `users`
|
||||
- **updater()**: belongsTo → `users`
|
||||
- **approvals()**: hasMany → `approvals`
|
||||
|
||||
### approval_lines
|
||||
**모델**: `App\Models\Tenants\ApprovalLine`
|
||||
|
||||
- **creator()**: belongsTo → `users`
|
||||
- **updater()**: belongsTo → `users`
|
||||
|
||||
### approval_steps
|
||||
**모델**: `App\Models\Tenants\ApprovalStep`
|
||||
|
||||
- **approval()**: belongsTo → `approvals`
|
||||
- **approver()**: belongsTo → `users`
|
||||
|
||||
### attendances
|
||||
**모델**: `App\Models\Tenants\Attendance`
|
||||
|
||||
@@ -392,6 +430,20 @@ ### payments
|
||||
|
||||
- **subscription()**: belongsTo → `subscriptions`
|
||||
|
||||
### payrolls
|
||||
**모델**: `App\Models\Tenants\Payroll`
|
||||
|
||||
- **user()**: belongsTo → `users`
|
||||
- **confirmer()**: belongsTo → `users`
|
||||
- **withdrawal()**: belongsTo → `withdrawals`
|
||||
- **creator()**: belongsTo → `users`
|
||||
- **updater()**: belongsTo → `users`
|
||||
|
||||
### payroll_settings
|
||||
**모델**: `App\Models\Tenants\PayrollSetting`
|
||||
|
||||
- **tenant()**: belongsTo → `tenants`
|
||||
|
||||
### department_users
|
||||
**모델**: `App\Models\Tenants\Pivots\DepartmentUser`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user