style: Laravel Pint 코드 포맷팅 적용
- PSR-12 스타일 가이드 준수 - 302개 파일 스타일 이슈 자동 수정 - 코드 로직 변경 없음 (포맷팅만)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace App\Support\Validation;
|
||||
|
||||
class BomItemRules
|
||||
@@ -6,14 +7,14 @@ class BomItemRules
|
||||
public static function base(): array
|
||||
{
|
||||
return [
|
||||
'ref_type' => 'required|string|in:MATERIAL,PRODUCT',
|
||||
'ref_id' => 'required|integer|min:1',
|
||||
'qty' => 'required|numeric|gt:0',
|
||||
'ref_type' => 'required|string|in:MATERIAL,PRODUCT',
|
||||
'ref_id' => 'required|integer|min:1',
|
||||
'qty' => 'required|numeric|gt:0',
|
||||
'waste_rate' => 'nullable|numeric|min:0',
|
||||
'uom_id' => 'nullable|integer|min:1',
|
||||
'notes' => 'nullable|string|max:255',
|
||||
'uom_id' => 'nullable|integer|min:1',
|
||||
'notes' => 'nullable|string|max:255',
|
||||
'sort_order' => 'nullable|integer',
|
||||
'category_id'=> 'nullable|integer', // 선택: 카테고리 분류 사용 시
|
||||
'category_id' => 'nullable|integer', // 선택: 카테고리 분류 사용 시
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user