feat: [bending] 기초자료 복사 API 추가 — 같은 분류의 다음 번호 자동 채번

This commit is contained in:
김보곤
2026-03-21 11:49:06 +09:00
parent 917b75d4b4
commit a71dab791a
3 changed files with 48 additions and 0 deletions

View File

@@ -143,6 +143,7 @@
Route::post('', [BendingItemController::class, 'store'])->name('v1.bending-items.store');
Route::get('/{id}', [BendingItemController::class, 'show'])->whereNumber('id')->name('v1.bending-items.show');
Route::put('/{id}', [BendingItemController::class, 'update'])->whereNumber('id')->name('v1.bending-items.update');
Route::post('/{id}/duplicate', [BendingItemController::class, 'duplicate'])->whereNumber('id')->name('v1.bending-items.duplicate');
Route::delete('/{id}', [BendingItemController::class, 'destroy'])->whereNumber('id')->name('v1.bending-items.destroy');
});