refactor: 섹션 관리를 entity_relationships 참조 방식으로 전환
- SectionTemplateService: 독립 섹션 생성, page_id 있으면 링크 연결 - ItemMasterService: init API가 linkedSections 기반으로 조회 - SectionTemplateStoreRequest: page_id nullable로 변경 - Swagger: 스키마 업데이트 (sectionTemplates → sections)
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user