- TenantSetting CRUD API 추가 - Calendar, Entertainment, VAT 서비스 개선 - 5130 BOM 계산 로직 수정 - quote_items에 item_type 컬럼 추가 - tenant_settings 테이블 마이그레이션 - Swagger 문서 업데이트
24 lines
482 B
PHP
24 lines
482 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests\TenantSetting;
|
|
|
|
use Illuminate\Foundation\Http\FormRequest;
|
|
|
|
class UpdateSettingRequest extends FormRequest
|
|
{
|
|
public function authorize(): bool
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public function rules(): array
|
|
{
|
|
return [
|
|
'group' => 'required|string|max:50',
|
|
'key' => 'required|string|max:100',
|
|
'value' => 'required',
|
|
'description' => 'nullable|string|max:255',
|
|
];
|
|
}
|
|
}
|