style: Laravel Pint 코드 포맷팅 적용

- PSR-12 스타일 가이드 준수
- 302개 파일 스타일 이슈 자동 수정
- 코드 로직 변경 없음 (포맷팅만)
This commit is contained in:
2025-11-06 17:45:49 +09:00
parent 48e76432ee
commit cc206fdbed
294 changed files with 4476 additions and 2561 deletions

View File

@@ -12,7 +12,7 @@ class ModelVersion extends Model
protected $table = 'model_versions';
protected $fillable = [
'tenant_id','model_id','version_no','status','effective_from','effective_to','notes','is_active',
'tenant_id', 'model_id', 'version_no', 'status', 'effective_from', 'effective_to', 'notes', 'is_active',
];
protected $casts = [
@@ -21,15 +21,18 @@ class ModelVersion extends Model
'effective_to' => 'datetime',
];
public function model() {
public function model()
{
return $this->belongsTo(DesignModel::class, 'model_id');
}
public function bomTemplates() {
public function bomTemplates()
{
return $this->hasMany(BomTemplate::class, 'model_version_id');
}
public function scopeReleased($q) {
public function scopeReleased($q)
{
return $q->where('status', 'RELEASED');
}
}