feat(API): 문서 템플릿 기본필드 field_key $fillable 추가
- DocumentTemplateBasicField 모델에 field_key 필드 추가 - Mass Assignment 보호로 field_key 저장 누락 방지 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
* @property int $template_id
|
||||
* @property string $label 필드 라벨
|
||||
* @property string $field_type 필드 타입 (text/date/select 등)
|
||||
* @property string|null $field_key common_codes(doc_template_basic_field) 참조 키
|
||||
* @property string|null $default_value 기본값
|
||||
* @property int $sort_order 정렬 순서
|
||||
*/
|
||||
@@ -22,6 +23,7 @@ class DocumentTemplateBasicField extends Model
|
||||
protected $fillable = [
|
||||
'template_id',
|
||||
'label',
|
||||
'field_key',
|
||||
'field_type',
|
||||
'default_value',
|
||||
'sort_order',
|
||||
|
||||
Reference in New Issue
Block a user