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

110
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "a3b2629f79429532f4287f12f58e74ab",
"content-hash": "5e41f06b9f42d52021789067799761d5",
"packages": [
{
"name": "brick/math",
@@ -7373,6 +7373,69 @@
},
"time": "2025-07-17T06:07:30+00:00"
},
{
"name": "beyondcode/laravel-er-diagram-generator",
"version": "5.0.0",
"source": {
"type": "git",
"url": "https://github.com/beyondcode/laravel-er-diagram-generator.git",
"reference": "899b0d5aa0e9137d247dc786b2f8abaeb694f692"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/beyondcode/laravel-er-diagram-generator/zipball/899b0d5aa0e9137d247dc786b2f8abaeb694f692",
"reference": "899b0d5aa0e9137d247dc786b2f8abaeb694f692",
"shasum": ""
},
"require": {
"doctrine/dbal": "^3.3|^4.0",
"nikic/php-parser": "^4.0|^5.0",
"php": "^8.2",
"phpdocumentor/graphviz": "^1.0"
},
"require-dev": {
"larapack/dd": "^1.0",
"orchestra/testbench": "^8.0|^9.0|^10.0",
"phpunit/phpunit": "^9.5.10|^10.5|^11.0",
"spatie/phpunit-snapshot-assertions": "^4.2|^5.1"
},
"type": "library",
"extra": {
"laravel": {
"providers": [
"BeyondCode\\ErdGenerator\\ErdGeneratorServiceProvider"
]
}
},
"autoload": {
"psr-4": {
"BeyondCode\\ErdGenerator\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Marcel Pociot",
"email": "marcel@beyondco.de",
"homepage": "https://beyondcode.de",
"role": "Developer"
}
],
"description": "Generate ER diagrams from your Laravel models.",
"homepage": "https://github.com/beyondcode/laravel-er-diagram-generator",
"keywords": [
"beyondcode",
"laravel-er-diagram-generator"
],
"support": {
"issues": "https://github.com/beyondcode/laravel-er-diagram-generator/issues",
"source": "https://github.com/beyondcode/laravel-er-diagram-generator/tree/5.0.0"
},
"time": "2025-06-13T13:53:45+00:00"
},
{
"name": "composer/class-map-generator",
"version": "1.6.2",
@@ -8906,6 +8969,51 @@
},
"time": "2022-02-21T01:04:05+00:00"
},
{
"name": "phpdocumentor/graphviz",
"version": "1.0.4",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/GraphViz.git",
"reference": "a906a90a9f230535f25ea31caf81b2323956283f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/GraphViz/zipball/a906a90a9f230535f25ea31caf81b2323956283f",
"reference": "a906a90a9f230535f25ea31caf81b2323956283f",
"shasum": ""
},
"require": {
"php": ">=5.3.3"
},
"require-dev": {
"phpunit/phpunit": "~4.0"
},
"type": "library",
"autoload": {
"psr-0": {
"phpDocumentor": [
"src/",
"tests/unit"
]
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Mike van Riel",
"email": "mike.vanriel@naenius.com"
}
],
"support": {
"issues": "https://github.com/phpDocumentor/GraphViz/issues",
"source": "https://github.com/phpDocumentor/GraphViz/tree/master"
},
"time": "2016-02-02T13:00:08+00:00"
},
{
"name": "phpunit/php-code-coverage",
"version": "11.0.10",