feat: quotes 테이블에 options JSON 컬럼 추가
- 견적요약, 공과상세, 품목 단가조정 데이터를 JSON으로 저장 - Quote 모델에 options 필드 추가 (fillable, casts) - 중요도가 낮은 필드는 개별 테이블 대신 JSON으로 관리 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -68,6 +68,8 @@ class Quote extends Model
|
||||
'notes',
|
||||
// 자동산출 입력값
|
||||
'calculation_inputs',
|
||||
// 견적 옵션 (summary_items, expense_items, price_adjustments)
|
||||
'options',
|
||||
// 감사
|
||||
'created_by',
|
||||
'updated_by',
|
||||
@@ -81,6 +83,7 @@ class Quote extends Model
|
||||
'finalized_at' => 'datetime',
|
||||
'is_final' => 'boolean',
|
||||
'calculation_inputs' => 'array',
|
||||
'options' => 'array',
|
||||
'material_cost' => 'decimal:2',
|
||||
'labor_cost' => 'decimal:2',
|
||||
'install_cost' => 'decimal:2',
|
||||
|
||||
Reference in New Issue
Block a user