refactor: 섹션 관리를 entity_relationships 참조 방식으로 전환

- SectionTemplateService: 독립 섹션 생성, page_id 있으면 링크 연결
- ItemMasterService: init API가 linkedSections 기반으로 조회
- SectionTemplateStoreRequest: page_id nullable로 변경
- Swagger: 스키마 업데이트 (sectionTemplates → sections)
This commit is contained in:
2025-11-26 18:08:03 +09:00
parent 628d902b0c
commit a1604b6189
4 changed files with 174 additions and 52 deletions

View File

@@ -14,6 +14,7 @@ public function authorize(): bool
public function rules(): array
{
return [
'page_id' => 'nullable|integer|exists:item_pages,id',
'title' => 'required|string|max:255',
'type' => 'required|in:fields,bom',
'description' => 'nullable|string',