style: Laravel Pint 코드 포맷팅 적용
- PSR-12 스타일 가이드 준수 - 302개 파일 스타일 이슈 자동 수정 - 코드 로직 변경 없음 (포맷팅만)
This commit is contained in:
@@ -9,8 +9,8 @@ class BomTemplateItem extends Model
|
||||
protected $table = 'bom_template_items';
|
||||
|
||||
protected $fillable = [
|
||||
'tenant_id','bom_template_id','ref_type','ref_id','qty','waste_rate','uom_id','notes','sort_order',
|
||||
'is_calculated','calculation_formula','depends_on','calculation_config',
|
||||
'tenant_id', 'bom_template_id', 'ref_type', 'ref_id', 'qty', 'waste_rate', 'uom_id', 'notes', 'sort_order',
|
||||
'is_calculated', 'calculation_formula', 'depends_on', 'calculation_config',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
@@ -21,7 +21,8 @@ class BomTemplateItem extends Model
|
||||
'calculation_config' => 'array',
|
||||
];
|
||||
|
||||
public function template() {
|
||||
public function template()
|
||||
{
|
||||
return $this->belongsTo(BomTemplate::class, 'bom_template_id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user