feat: 품목(Item) 더미 데이터 시더 추가

- DummyItemSeeder.php 생성: 10,000개 품목 더미 데이터
  - FG(완제품) 2,000개, PT(부품) 3,000개
  - SM(부자재) 2,000개, RM(원자재) 2,000개, CS(소모품) 1,000개
- 1,000개씩 배치 삽입으로 성능 최적화
- 타입별 속성(attributes) 자동 생성
- DummyDataSeeder에 품목 시더 등록

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-12-30 09:43:20 +09:00
parent abf4d09f1b
commit bdb7460bfa
2 changed files with 169 additions and 2 deletions

View File

@@ -60,7 +60,14 @@ public function run(): void
ApprovalTestDataSeeder::class,
]);
// 5. 기타 데이터
// 5. 품목 데이터
$this->command->info('');
$this->command->info('📦 품목 데이터 생성...');
$this->call([
Dummy\DummyItemSeeder::class,
]);
// 6. 기타 데이터
$this->command->info('');
$this->command->info('📋 기타 데이터 생성...');
$this->call([
@@ -94,9 +101,10 @@ public function run(): void
['결재', 'approval_forms', '3'],
['결재', 'approvals', '20'],
['결재', 'approval_steps', '~40'],
['품목', 'items', '10,000'],
['기타', 'popups', '8'],
['기타', 'payments', '13'],
['', '총계', '~1,010'],
['', '총계', '~11,010'],
]
);
}