feat: ERD 자동 생성 시스템 구축 및 모델 오류 수정

- GraphViz 설치를 통한 ERD 다이어그램 생성 지원
- BelongsToTenantTrait → BelongsToTenant 트레잇명 수정
- Estimate, EstimateItem 모델의 인터페이스 참조 오류 해결
- 60개 모델의 완전한 관계도 생성 (graph.png, 4.1MB)
- beyondcode/laravel-er-diagram-generator 패키지 활용

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-09-24 22:30:28 +09:00
parent c63e676257
commit 1a796462e4
14 changed files with 984 additions and 73 deletions

View File

@@ -3,6 +3,9 @@
namespace App\Console;
use App\Console\Commands\PruneAuditLogs;
use App\Console\Commands\UpdateLogicalRelationships;
use App\Console\Commands\MakeModelWithRelationships;
use App\Console\Commands\GenerateSimpleRelationships;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
@@ -10,6 +13,9 @@ class Kernel extends ConsoleKernel
{
protected $commands = [
PruneAuditLogs::class,
UpdateLogicalRelationships::class,
MakeModelWithRelationships::class,
GenerateSimpleRelationships::class,
];
protected function schedule(Schedule $schedule): void