style: Laravel Pint 코드 포맷팅 적용
- PSR-12 스타일 가이드 준수 - 302개 파일 스타일 이슈 자동 수정 - 코드 로직 변경 없음 (포맷팅만)
This commit is contained in:
@@ -12,8 +12,8 @@ class BomTemplate extends Model
|
||||
protected $table = 'bom_templates';
|
||||
|
||||
protected $fillable = [
|
||||
'tenant_id','model_version_id','name','is_primary','notes',
|
||||
'calculation_schema','company_type','formula_version',
|
||||
'tenant_id', 'model_version_id', 'name', 'is_primary', 'notes',
|
||||
'calculation_schema', 'company_type', 'formula_version',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
@@ -21,11 +21,13 @@ class BomTemplate extends Model
|
||||
'calculation_schema' => 'array',
|
||||
];
|
||||
|
||||
public function modelVersion() {
|
||||
public function modelVersion()
|
||||
{
|
||||
return $this->belongsTo(ModelVersion::class, 'model_version_id');
|
||||
}
|
||||
|
||||
public function items() {
|
||||
public function items()
|
||||
{
|
||||
return $this->hasMany(BomTemplateItem::class, 'bom_template_id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user