feat: DB 연결 오버라이딩 및 대시보드 통계 위젯 추가
- DB 연결: 로컬/Docker 환경 오버라이딩 설정 (.env) - 테넌트 위젯: redirect 버그 수정 (TenantSelectorWidget) - 통계 위젯: 사용자/제품/자재/주문 카드 추가 (StatsOverviewWidget) - 리소스 한국어화: Product, Material 모델 레이블 추가 - 대시보드: 위젯 등록 및 캐시 최적화 🤖 Generated with [Claude Code](https://claude.ai/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests\Api\V1\ModelFormula;
|
||||
|
||||
use App\Http\Requests\Api\V1\PaginateRequest;
|
||||
|
||||
class IndexModelFormulaRequest extends PaginateRequest
|
||||
{
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*/
|
||||
public function rules(): array
|
||||
{
|
||||
return array_merge(parent::rules(), [
|
||||
'search' => ['sometimes', 'string', 'max:255'],
|
||||
'target_parameter' => ['sometimes', 'string', 'max:50'],
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get custom attribute names for validator errors.
|
||||
*/
|
||||
public function attributes(): array
|
||||
{
|
||||
return array_merge(parent::attributes(), [
|
||||
'search' => __('validation.attributes.search'),
|
||||
'target_parameter' => __('validation.attributes.target_parameter'),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user